fixes ambiguous match error in specs
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<%= t("admin.polls.show.no_booths") %>
|
<%= t("admin.polls.show.no_booths") %>
|
||||||
</div>
|
</div>
|
||||||
<% else %>
|
<% else %>
|
||||||
<table class="margin">
|
<table id="assigned_booths_list" class="margin">
|
||||||
<thead>
|
<thead>
|
||||||
<th><%= t("admin.polls.show.table_name") %></th>
|
<th><%= t("admin.polls.show.table_name") %></th>
|
||||||
<th><%= t("admin.polls.show.table_location") %></th>
|
<th><%= t("admin.polls.show.table_location") %></th>
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ feature 'Admin booths assignments' do
|
|||||||
visit admin_poll_path(poll)
|
visit admin_poll_path(poll)
|
||||||
click_link 'Booths (2)'
|
click_link 'Booths (2)'
|
||||||
|
|
||||||
click_link booth.name
|
within('#assigned_booths_list') { click_link booth.name }
|
||||||
|
|
||||||
click_link 'Officers'
|
click_link 'Officers'
|
||||||
within('#officers_list') do
|
within('#officers_list') do
|
||||||
@@ -119,7 +119,7 @@ feature 'Admin booths assignments' do
|
|||||||
visit admin_poll_path(poll)
|
visit admin_poll_path(poll)
|
||||||
click_link 'Booths (2)'
|
click_link 'Booths (2)'
|
||||||
|
|
||||||
click_link booth.name
|
within('#assigned_booths_list') { click_link booth.name }
|
||||||
|
|
||||||
click_link 'Recounts'
|
click_link 'Recounts'
|
||||||
within('#recounts_list') do
|
within('#recounts_list') do
|
||||||
|
|||||||
Reference in New Issue
Block a user