wspurgin / rspec-sidekiq

RSpec for Sidekiq
https://github.com/wspurgin/rspec-sidekiq
Other
651 stars 133 forks source link

Fix array arguments matching #187

Closed misdoro closed 1 year ago

misdoro commented 1 year ago

The workers may have arrays of integers as arguments.

This gem expectation fails if we are checking for something like

expect(SomeWorker).to have_enqueued_sidekiq_job([1, 2], "something")
misdoro commented 1 year ago

what's wrong is the error message, not the match itself