Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix obsolete reference to proposal question #1988

Merged
merged 1 commit into from
Apr 30, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove obsolete reference to proposal question
  • Loading branch information
javierm committed Apr 29, 2019
commit 87fb9644d428cff6a9932aec9d31ac3c6aa498ad
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<%= link_to proposal.title, proposal_path(proposal) %>
<p>
<%= proposal.summary %><br>
<strong><%= proposal.question %></strong>
</p>
</td>
<td>
Expand Down
4 changes: 4 additions & 0 deletions spec/features/admin/poll/questions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@
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
Expand Down