From 63fef66f41d3427ce4978b960d7b461a76627c76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Mon, 29 Apr 2019 14:26:31 +0200 Subject: [PATCH] Remove obsolete reference to proposal question --- app/views/admin/poll/questions/_successful_proposals.html.erb | 1 - spec/features/admin/poll/questions_spec.rb | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/admin/poll/questions/_successful_proposals.html.erb b/app/views/admin/poll/questions/_successful_proposals.html.erb index 4f3fda4d5..f58c84d25 100644 --- a/app/views/admin/poll/questions/_successful_proposals.html.erb +++ b/app/views/admin/poll/questions/_successful_proposals.html.erb @@ -12,7 +12,6 @@ <%= link_to proposal.title, proposal_path(proposal) %>

<%= proposal.summary %>
- <%= proposal.question %>

diff --git a/spec/features/admin/poll/questions_spec.rb b/spec/features/admin/poll/questions_spec.rb index 2966671d1..188fcf215 100644 --- a/spec/features/admin/poll/questions_spec.rb +++ b/spec/features/admin/poll/questions_spec.rb @@ -117,6 +117,10 @@ feature "Admin poll questions" do click_button "Save" expect(page).to have_content(proposal.title) + + visit admin_questions_path + + expect(page).to have_content(proposal.title) end scenario "Update" do