Skip to content

Commit

Permalink
update test to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BarbaraOliveira13 committed Nov 15, 2024
1 parent befebed commit a14ab34
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ module Decidim::DecidimAwesome

let(:extra_fields) { create(:awesome_proposal_extra_fields, proposal: create(:extended_proposal)) }
let(:proposal) { create(:extended_proposal) }
let(:component) { create(:component, settings: { awesome_voting_manifest: "default" }) }

it { is_expected.to be_valid }

before do
create(:proposal_vote, proposal: proposal, weight: 1)
create(:proposal_vote, proposal: proposal, weight: 2)
end

it "has a proposal associated" do
expect(extra_fields.proposal).to be_a(Decidim::Proposals::Proposal)
end
Expand Down

0 comments on commit a14ab34

Please sign in to comment.