FakeResque
Don't want to have the resque infrastructure in place when developing or testing your resque dependent applications? FakeResque will replace Resque and execute any Resque calls synchronously instead of asynchronously.
Usage
require 'fakefs'
# That's it.
# To use the real Resque
FakeResque.deactivate!
# To disable the real Resque again
FakeResque.activate!
# To drop messages being sent through Resque
FakeResque.block!
# To start sending messages again
FakeResque.unblock!
# Or
FakeResque.activate!
Installation
Gemcutter
$ gem install fake-resque
Contributing
Once you've made your great commits:
- Fork FakeResque
- Create a topic branch -
git checkout -b my_branch - Push to your branch -
git push origin my_branch - Create an Issue with a link to your branch
- That's it!
Acknowledgements
Based on the fakefs library by defunkt.
Meta
- Code:
git clone git://github.com/jacobat/fake-resque.git - Home: http://github.com/jacobat/fake-resque
- Bugs: http://github.com/jacobat/fake-resque/issues
- Gems: http://gemcutter.org/gems/fake-resque