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

@@ -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>

View File

@@ -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