lib/decidim/plans/test/factories.rb in decidim-plans-0.16.2 vs lib/decidim/plans/test/factories.rb in decidim-plans-0.16.3
- old
+ new
@@ -46,9 +46,17 @@
{
multilingual_answers: true
}
end
end
+
+ trait :with_proposal_linking_disabled do
+ settings do
+ {
+ proposal_linking_enabled: false
+ }
+ end
+ end
end
factory :attached_proposal, class: "Decidim::Plans::AttachedProposal" do
plan
proposal