fixes ambiguous match error in specs

This commit is contained in:
Juanjo Bazán
2017-01-31 19:09:58 +01:00
parent a05297ea1a
commit 01a52cc61a
2 changed files with 3 additions and 3 deletions

View File

@@ -80,7 +80,7 @@ feature 'Admin booths assignments' do
visit admin_poll_path(poll)
click_link 'Booths (2)'
click_link booth.name
within('#assigned_booths_list') { click_link booth.name }
click_link 'Officers'
within('#officers_list') do
@@ -119,7 +119,7 @@ feature 'Admin booths assignments' do
visit admin_poll_path(poll)
click_link 'Booths (2)'
click_link booth.name
within('#assigned_booths_list') { click_link booth.name }
click_link 'Recounts'
within('#recounts_list') do