Skip to content

Commit f685b44

Browse files
authored
Correct arguments post improvements for #2015
1 parent 5da6e2a commit f685b44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rspec/rails/matchers/active_job.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ def matches?(job)
242242
# }.to have_enqueued_job.with(42).on_queue("low").at(:no_wait)
243243
#
244244
# expect {
245-
# HelloJob.perform_later('rspec_rails', %w[ world rspec rails ], 42)
246-
# }.to have_enqueued_job.with { |_from, to, times|
245+
# HelloJob.perform_later('rspec_rails', 'rails', 42)
246+
# }.to have_enqueued_job.with { |from, to, times|
247247
# # Perform more complex argument matching using dynamic arguments
248248
# expect(from).to include "_#{to}"
249249
# }

0 commit comments

Comments
 (0)