Fixed failing tests

This commit is contained in:
Juan Salvador Pérez García
2018-06-12 19:56:29 +02:00
parent b7c3cc3e08
commit a05e5c003f
9 changed files with 108 additions and 87 deletions

View File

@@ -128,7 +128,7 @@
<div class="sidebar-divider"></div>
<h2><%= t("proposals.show.author") %></h2>
<div class="show-actions-menu">
<%= link_to proposal_dashboard_index_path(@proposal), class: 'button hollow expanded' do %>
<%= link_to proposal_dashboard_index_path(@proposal), class: 'button hollow expanded', id: "proposal-dashboard-#{@proposal.id}" do %>
<span class="icon-edit"></span>
<%= t("proposals.show.dashboard_proposal_link") %>
<% end %>

View File

@@ -7,7 +7,7 @@
<%= simple_format text_with_links(@proposal.retired_explanation), {}, sanitize: false %>
</div>
<% end %>
d
<% if feature?(:allow_attached_documents) %>
<%= render 'documents/documents',
documents: @proposal.documents,