Skip to content

Commit

Permalink
Fix syntax for 0.27 and older ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
ahukkanen committed Dec 10, 2024
1 parent 7c9c0f8 commit b99de77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/queries/decidim/admin/newsletter_recipients_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
end

context "with blocked accounts" do
let!(:blocked_recipients) { create_list(:user, 5, :confirmed, :blocked, newsletter_notifications_at: Time.current, organization:) }
let!(:blocked_recipients) { create_list(:user, 5, :confirmed, :blocked, newsletter_notifications_at: Time.current, organization: organization) }

it "returns all not blocked users" do
expect(subject.query).to match_array recipients
Expand Down

0 comments on commit b99de77

Please sign in to comment.