Skip to content

Commit

Permalink
Remove useless parameter in URL
Browse files Browse the repository at this point in the history
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
1 parent 3b61aea commit ceb376b
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit ceb376b

Please sign in to comment.