lib/decidim/assemblies/test/factories.rb in decidim-assemblies-0.21.0 vs lib/decidim/assemblies/test/factories.rb in decidim-assemblies-0.22.0

- old
+ new

@@ -6,9 +6,14 @@ FactoryBot.define do sequence(:assembly_slug) do |n| "#{Faker::Internet.slug(nil, "-")}-#{n}" end + factory :assemblies_setting, class: "Decidim::AssembliesSetting" do + enable_organization_chart { true } + organization + end + factory :assemblies_type, class: "Decidim::AssembliesType" do title { generate_localized_title } organization end