fixes ambiguous match error in specs
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<%= t("admin.polls.show.no_booths") %>
|
||||
</div>
|
||||
<% else %>
|
||||
<table class="margin">
|
||||
<table id="assigned_booths_list" class="margin">
|
||||
<thead>
|
||||
<th><%= t("admin.polls.show.table_name") %></th>
|
||||
<th><%= t("admin.polls.show.table_location") %></th>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user