QueueClassicMatchers
Test helpers and RSpec matchers to QueueClassicPlus.
Installation
Add this line to your application's Gemfile:
gem 'queue_classic_matchers'
And then execute:
$ bundle
Or install it yourself as:
$ gem install queue_classic_matchers
Usage
TODO: Write usage instructions here
Matchers
expect(MyQueueClassicPlusJob).to have_queued(*my_args)
Test Helper
Run a subset of the jobs in a queue. Delete the others.
run_queue q_name, [MyQueueClassicPlusJob]
Contributing
- Fork it ( https://github.com/[my-github-username]/queue_classic_matchers/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request