Fixed test

This commit is contained in:
María Checa
2017-10-03 15:49:03 +02:00
parent 1afd97b687
commit 2cb620296b

View File

@@ -87,9 +87,11 @@ feature 'Admin booths' do
end
scenario "Edit" do
poll = create(:poll, :current)
booth = create(:poll_booth)
assignment = create(:poll_booth_assignment, poll: poll, booth: booth)
visit admin_booths_path
visit available_admin_booths_path
within("#booth_#{booth.id}") do
click_link "Edit"
@@ -109,4 +111,4 @@ feature 'Admin booths' do
end
end
end
end