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

Remove unused and obsolete code #3718

Merged
merged 9 commits into from
Sep 25, 2019
Prev Previous commit
Remove useless parameter in URL
The proposal parameter was accidentally added in commit 16692c9, but
the proposals index doesn't receive a proposal as parameter.
  • Loading branch information
javierm committed Sep 24, 2019
commit 9fcea178497fbbe976cc60afac2953e561962985
2 changes: 1 addition & 1 deletion spec/features/proposals_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
proposal_with_image = create(:proposal)
image = create(:image, imageable: proposal_with_image)

visit proposals_path(id: proposal)
visit proposals_path

within("#proposal_#{proposal.id}") do
expect(page).not_to have_css("div.with-image")
Expand Down