Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiculescu committed Sep 23, 2024
1 parent c748ba6 commit 66c5d32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/notifier_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ class RecipientsLambdaEphemeral < Noticed::Ephemeral
end

test "recipients ephemeral" do
users = [ User.create!(email: "foo"), User.create!(email: "bar") ]
users = [User.create!(email: "foo"), User.create!(email: "bar")]

assert_enqueued_with(job: Noticed::DeliveryMethods::Test, args: [:test, "NotifierTest::RecipientsLambdaEphemeral::Notification", { recipient: User.find_by(email: "foo"), params: { recipients: users } }]) do
assert_enqueued_with(job: Noticed::DeliveryMethods::Test, args: [:test, "NotifierTest::RecipientsLambdaEphemeral::Notification", {recipient: User.find_by(email: "foo"), params: {recipients: users}}]) do
RecipientsLambdaEphemeral.with(recipients: users).deliver
end
end
Expand Down

0 comments on commit 66c5d32

Please sign in to comment.