Skip to content

Commit

Permalink
fix: Create registration spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentinchampenois committed Feb 29, 2024
1 parent 8b5395f commit b262ebd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/commands/decidim/create_registration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b262ebd

Please sign in to comment.