adds code to proposal's show
This commit is contained in:
@@ -53,6 +53,8 @@
|
||||
<i class="icon-comments"></i>
|
||||
<%= link_to t("proposals.show.comments", count: @proposal.comments_count), "#comments" %>
|
||||
<span class="bullet"> • </span>
|
||||
<%= @proposal.code %>
|
||||
<span class="bullet"> • </span>
|
||||
<span class="js-flag-actions">
|
||||
<%= render 'proposals/flag_actions', proposal: @proposal %>
|
||||
</span>
|
||||
|
||||
@@ -40,6 +40,7 @@ feature 'Proposals' do
|
||||
visit proposal_path(proposal)
|
||||
|
||||
expect(page).to have_content proposal.title
|
||||
expect(page).to have_content proposal.code
|
||||
expect(page).to have_content "Proposal question"
|
||||
expect(page).to have_content "Proposal description"
|
||||
expect(page).to have_content "http://external_documention.es"
|
||||
|
||||
Reference in New Issue
Block a user