Remove obsolete reference to proposal question

This commit is contained in:
Javi Martín
2019-04-29 14:26:31 +02:00
committed by decabeza
parent f40787561d
commit 63fef66f41
2 changed files with 4 additions and 1 deletions

View File

@@ -12,7 +12,6 @@
<%= link_to proposal.title, proposal_path(proposal) %> <%= link_to proposal.title, proposal_path(proposal) %>
<p> <p>
<%= proposal.summary %><br> <%= proposal.summary %><br>
<strong><%= proposal.question %></strong>
</p> </p>
</td> </td>
<td> <td>

View File

@@ -117,6 +117,10 @@ feature "Admin poll questions" do
click_button "Save" click_button "Save"
expect(page).to have_content(proposal.title) expect(page).to have_content(proposal.title)
visit admin_questions_path
expect(page).to have_content(proposal.title)
end end
scenario "Update" do scenario "Update" do