Skip to content

Commit

Permalink
Fix failing spec
Browse files Browse the repository at this point in the history
  • Loading branch information
alecslupu committed Mar 26, 2024
1 parent 01d9e95 commit ad5f8b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/proposals/system/amendable/amendment_diff_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,11 @@
let(:user) { proposal.creator_author }

before do
login_as user, scope: :user
proposal.update(title: { en: "Updated long enough title" }, body: { en: "Updated one liner body" })
# The last version of the emendation should hold the amending attribute values.
emendation.update(title: { en: "Amended long enough title" }, body: { en: "Amended one liner body" })
visit emendation_path
login_as user, scope: :user
visit decidim.review_amend_path(amendment)
end

Expand Down

0 comments on commit ad5f8b0

Please sign in to comment.