fixes spec

This commit is contained in:
Juanjo Bazán
2017-02-01 13:58:50 +01:00
parent c4a1c47feb
commit 5f55c9a10f

View File

@@ -43,7 +43,10 @@ feature 'Officing Final Recount' do
click_link 'Final recounts' click_link 'Final recounts'
end end
click_link @poll.name within("#poll_#{@poll.id}") do
expect(page).to have_content(@poll.name)
click_link 'Add final recount'
end
expect(page).to_not have_content('Your recounts') expect(page).to_not have_content('Your recounts')