decidim-proposals/lib/decidim/proposals/test/factories.rb in decidim-0.4.4 vs decidim-proposals/lib/decidim/proposals/test/factories.rb in decidim-0.5.0

- old
+ new

@@ -58,9 +58,17 @@ { geocoding_enabled: true } end end + + trait :with_attachments_allowed do + settings do + { + attachments_allowed: true + } + end + end end factory :proposal, class: Decidim::Proposals::Proposal do title { Faker::Lorem.sentence } body { Faker::Lorem.sentences(3).join("\n") }