mperham/sidekiq — pull request #169 by panthomakos (2012-05-01 21:23:47+00:00)
Title: Made sidekiq/testing work for the #enqueue method.

Requiring `sidekiq/testing` now also stubs out the `Sidekiq::Client.enqueue` method so that the behavior is consistent with `perform_async`.

I also upgraded the testing tests so that they can be run in separate `it` blocks. The trick is to use `load` instead of `require` which allows the file to be re-executed.