Sha256: c31ff5cbcd03c0a1804ee20967eb268995923de12fe27139aeb8c52714622d1c
Contents?: true
Size: 1.34 KB
Versions: 2
Compression:
Stored size: 1.34 KB
Contents
# QueueClassicMatchers Test helpers and RSpec matchers to [QueueClassicPlus](https://github.com/rainforestapp/queue_classic_plus). ## Compatibility This version of the matchers are compatible with queue_classic 4 which includes built-in scheduling. See other branches for other compatible versions. ## 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 ```ruby expect(MyQueueClassicPlusJob).to have_queued(*my_args) ``` Other matchers are `have_queue_size_of`, `change_queue_size_of` and `have_scheduled`. ### Test Helper Run a subset of the jobs in a queue. Delete the others. ```ruby run_queue q_name, [MyQueueClassicPlusJob] ``` ## Contributing 1. Fork it ( https://github.com/[my-github-username]/queue_classic_matchers/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request ## Releasing 1. Open a PR and get it merged to master, making sure you've updated VERSION in `lib/queue_classic_matchers/version.rb` 2. `git checkout master; git pull` 3. `rake release:source_control_push`
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
queue_classic_matchers-4.0.0.alpha2 | README.md |
queue_classic_matchers-4.0.0.alpha1 | README.md |