Fixed test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user