adds spec for recount/officers lists in booth_assignment show

This commit is contained in:
Juanjo Bazán
2017-01-05 13:00:48 +01:00
parent 186be1e7cc
commit 0e9cec2ca6
3 changed files with 53 additions and 7 deletions

View File

@@ -30,7 +30,7 @@
<% else %>
<h3><%= t("admin.poll_booth_assignments.show.officers_list") %></h3>
<table>
<table id="officers_list">
<tbody>
<% @booth_assignment.officers.uniq.each do |officer| %>
<tr id="officer_<%= officer.id %>" class="officer">
@@ -50,7 +50,7 @@
</div>
<% else %>
<h3><%= t("admin.poll_booth_assignments.show.recounts_list") %></h3>
<table>
<table id="recounts_list">
<thead>
<tr>
<th><%= t("admin.poll_booth_assignments.show.date") %></th>