leshill/resque_spec — pull request #49 by mkonikowski (2012-03-26 10:48:08+00:00)
Title: reverse arguments' comparison order to enable usage of 'anything' matcher

Hi!

I've changed arguments' comparison order in 3 methods (have_queued, have_scheduled and have_scheduled_at) to enable usage of RSpec::Mocks::ArgumentMatchers::AnyArgMatcher. I also added tests for this. I think this can be used when not all arguments of enqueued request are important or easy to predict. I hope you will find this functionality useful.

Regards
Mateusz Konikowski