Fix Hound CI violations

This commit is contained in:
Chrisbr 2014-05-10 18:02:29 +02:00
parent 110afe1192
commit c742e57534
3 changed files with 6 additions and 5 deletions

View file

@ -17,7 +17,8 @@ feature Conference do
click_button 'Create Conference'
expect(page.find('#flash_notice').text).to eq('Conference was successfully created.')
expect(page.find('#flash_notice').text).
to eq('Conference was successfully created.')
expect(Conference.count).to eq(expected_count)
end
@ -32,7 +33,8 @@ feature Conference do
fill_in 'conference_social_tag', with: 'NewCon'
click_button 'Update Conference'
expect(page.find('#flash_notice').text).to eq('Conference was successfully updated.')
expect(page.find('#flash_notice').text).
to eq('Conference was successfully updated.')
conference.reload
expect(conference.title).to eq('New Con')