Stop testing views
There is no logic involved in assigning a CSS class...
This commit is contained in:
parent
c967a0b9a4
commit
c436ae172c
1 changed files with 0 additions and 11 deletions
|
|
@ -1,11 +0,0 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe 'layouts/application.haml' do
|
||||
let(:conference) { create(:conference) }
|
||||
|
||||
it 'assigns a class to the body identifying the current conference' do
|
||||
assign(:conference, conference)
|
||||
render
|
||||
expect(rendered).to have_selector("body.conference-#{conference.short_title}")
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue