wspurgin / rspec-sidekiq

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

Re-splat arguments for the have_enqueued_job alias #136

Closed aprescott closed 7 years ago

aprescott commented 7 years ago

This makes sure that an extra level of array wrapping isn't added for tests which use the now-deprecated have_enqueued_job, which causes test failures.

aprescott commented 7 years ago

Note that the added test here does in fact fail without the fix!

aprescott commented 7 years ago

This fixes #135.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 97.778% when pulling 7934bbaca9e0983f83fc9430d509d30ca49dc3bb on aprescott:have-enqueued-splat-args into 280877e91b3928bef7857d8d76df1456dd045947 on philostler:develop.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 97.778% when pulling 7934bbaca9e0983f83fc9430d509d30ca49dc3bb on aprescott:have-enqueued-splat-args into 280877e91b3928bef7857d8d76df1456dd045947 on philostler:develop.

packrat386 commented 7 years ago

Thanks

packrat386 commented 7 years ago

I'll try to cut 3.0.3 and release Soon™