From 66c5d32b44ba92d370a73c621d4a10355a4492b1 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 23 Sep 2024 14:06:31 +1000 Subject: [PATCH] lint --- test/notifier_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/notifier_test.rb b/test/notifier_test.rb index ea60558..8b5e575 100644 --- a/test/notifier_test.rb +++ b/test/notifier_test.rb @@ -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