diff --git a/spec/commands/decidim/create_registration_spec.rb b/spec/commands/decidim/create_registration_spec.rb index 9f4a2c4c..3a56327a 100644 --- a/spec/commands/decidim/create_registration_spec.rb +++ b/spec/commands/decidim/create_registration_spec.rb @@ -78,6 +78,10 @@ module Decidim end describe "when the form is valid" do + before do + Decidim::ExtraUserFields.notifications_sending_frequency = "none" + end + it "broadcasts ok" do expect { command.call }.to broadcast(:ok) end