Skip to content

Commit

Permalink
test: update test with address
Browse files Browse the repository at this point in the history
  • Loading branch information
Stef-Rousset committed Sep 19, 2024
1 parent c568d30 commit bec6a63
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/services/decidim/proposals/proposal_serializer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ module Proposals
expect(serialized).to include(body: proposal.body)
end

it "serializes the address" do
expect(serialized).to include(address: proposal.address)
end

it "serializes the amount of supports" do
expect(serialized).to include(supports: proposal.proposal_votes_count)
end
Expand Down

0 comments on commit bec6a63

Please sign in to comment.