Skip to content

Commit

Permalink
Use string for queue name assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
excid3 committed Dec 24, 2023
1 parent ee93969 commit d23a324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/notifier_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class NotifierTest < ActiveSupport::TestCase

test "queue delivery method option" do
event = QueueNotifier.deliver(User.first)
assert_enqueued_with(job: Noticed::DeliveryMethods::Test, args: [:test, event.notifications.last], queue: :example_queue) do
assert_enqueued_with(job: Noticed::DeliveryMethods::Test, args: [:test, event.notifications.last], queue: "example_queue") do
perform_enqueued_jobs
end
end
Expand Down

0 comments on commit d23a324

Please sign in to comment.