Skip to content

Commit 1e4ca2c

Browse files
committed
Make #on_queue work with symbol argument
1 parent 9312346 commit 1e4ca2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec/rails/matchers/active_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def with(*args, &block)
2626
end
2727

2828
def on_queue(queue)
29-
@queue = queue
29+
@queue = queue.to_s
3030
self
3131
end
3232

0 commit comments

Comments
 (0)