From a2e3d0842540e53a3dcd8181a4f88bd6839bea58 Mon Sep 17 00:00:00 2001 From: quentinchampenois <26109239+Quentinchampenois@users.noreply.github.com> Date: Fri, 22 Dec 2023 11:27:33 +0100 Subject: [PATCH] fix: PP specs --- spec/factories.rb | 1 + spec/system/participatory_processes_spec.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/factories.rb b/spec/factories.rb index 6619562..45ee4fb 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -11,3 +11,4 @@ require "decidim/decidim_awesome/test/factories" require "decidim/verifications/test/factories" require "decidim/budgets_booth/test/factories" +require "decidim/custom_proposal_states/test/factories" diff --git a/spec/system/participatory_processes_spec.rb b/spec/system/participatory_processes_spec.rb index 7043c7d..0488940 100644 --- a/spec/system/participatory_processes_spec.rb +++ b/spec/system/participatory_processes_spec.rb @@ -239,7 +239,7 @@ 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