Skip to content

Commit

Permalink
fix: Fix failing specs
Browse files Browse the repository at this point in the history
  • Loading branch information
AyakorK committed Nov 20, 2024
1 parent 1d6552f commit 9dd4503
Show file tree
Hide file tree
Showing 2 changed files with 258 additions and 269 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -371,11 +371,11 @@

context "when going to the participatory process page" do
let!(:participatory_process) { base_process }
let!(:proposals_component) { create(:component, :published, participatory_space: participatory_process, manifest_name: :proposals) }
let!(:proposals_component) { create(:extended_proposal_component, :published, participatory_space: participatory_process, manifest_name: :proposals) }
let!(:meetings_component) { create(:component, :unpublished, participatory_space: participatory_process, manifest_name: :meetings) }

before do
create_list(:proposal, 3, component: proposals_component)
create_list(:extended_proposal, 3, component: proposals_component)
allow(Decidim).to receive(:component_manifests).and_return([proposals_component.manifest, meetings_component.manifest])
end

Expand Down
Loading

0 comments on commit 9dd4503

Please sign in to comment.