lib/decidim/dev/test/rspec_support/component_context.rb in decidim-dev-0.16.1 vs lib/decidim/dev/test/rspec_support/component_context.rb in decidim-dev-0.17.0
- old
+ new
@@ -3,10 +3,10 @@
shared_context "with a component" do
let(:manifest) { Decidim.find_component_manifest(manifest_name) }
let(:user) { create :user, :confirmed, organization: organization }
- let!(:organization) { create(:organization) }
+ let!(:organization) { create(:organization, available_authorizations: %w(dummy_authorization_handler another_dummy_authorization_handler)) }
let(:participatory_process) do
create(:participatory_process, :with_steps, organization: organization)
end