decidim-proposals/lib/decidim/proposals/test/factories.rb in decidim-0.0.5 vs decidim-proposals/lib/decidim/proposals/test/factories.rb in decidim-0.0.6

- old
+ new

@@ -48,9 +48,17 @@ { participatory_process.active_step.id => { creation_enabled: true } } end end + + trait :with_geocoding_enabled do + settings do + { + geocoding_enabled: true + } + end + end end factory :proposal, class: Decidim::Proposals::Proposal do title { Faker::Lorem.sentence } body { Faker::Lorem.sentences(3).join("\n") }