README.md in resque_spec-0.9.2 vs README.md in resque_spec-0.9.3
- old
+ new
@@ -107,15 +107,19 @@
environment. Your initializer will probably end up looking like:
# config/initializers/resque_mailer.rb
Resque::Mailer.excluded_environments = []
-ResqueScheduler with Specs
+resque-scheduler with Specs
==========================
-To use with ResqueScheduler, add this require `require 'resque_spec/scheduler'`
+To use with resque-scheduler, add this require `require 'resque_spec/scheduler'`
+*n.b.* Yes, you also need to require resque-scheduler, this works (check the docs for other ways):
+
+ gem "resque-scheduler", :require => "resque_scheduler"
+
Given this scenario
Given a person
When I schedule a recalculate
Then the person has calculate scheduled
@@ -271,11 +275,11 @@
not be queued and `after_enqueue` will not be called.
The `perform` hooks: before, around, after, and on failure are fired by
ResqueSpec if you are using the `with_resque` helper or set `ResqueSpec.inline = true`.
-Important! If you are using ResqueScheduler, `Resque#enqueue_at/enqueue_in`
+Important! If you are using resque-scheduler, `Resque#enqueue_at/enqueue_in`
does not fire the after enqueue hook (the job has not been queued yet!), but
will fire the `perform` hooks if you are using `inline` mode.
Note on Patches/Pull Requests
=============================
@@ -296,23 +300,24 @@
[Twitter](https://twitter.com/leshill).
Contributors
============
-* Kenneth Kalmer (@kennethkalmer) : rspec dependency fix
-* Brian Cardarella (@bcardarella) : fix mutation bug
-* Joshua Davey (@joshdavey) : with_resque helper
-* Lar Van Der Jagt (@supaspoida) : with_resque helper
-* Evan Sagge (@evansagge) : Hook in via Job.create, have_queued.in
-* Jon Larkowski (@l4rk) : inline perform
-* James Conroy-Finn(@jcf) : spec fix
-* Dennis Walters (@ess) : enqueue_in support
-* (@RipTheJacker) : remove_delayed support
-* Kurt Werle (@kwerle) : explicit require spec for v020
-* (@dwilkie) : initial before_enqueue support
-* Marcin Balinski (@marcinb) : have_schedule_size_of matcher, schedule matcher at, in
-* (@alexeits) : fix matcher in bug with RSpec 2.8.0
-* (@ToadJamb) : encode/decode of Resque job arguments
+* Kenneth Kalmer (@kennethkalmer) : rspec dependency fix
+* Brian Cardarella (@bcardarella) : fix mutation bug
+* Joshua Davey (@joshdavey) : with_resque helper
+* Lar Van Der Jagt (@supaspoida) : with_resque helper
+* Evan Sagge (@evansagge) : Hook in via Job.create, have_queued.in
+* Jon Larkowski (@l4rk) : inline perform
+* James Conroy-Finn (@jcf) : spec fix
+* Dennis Walters (@ess) : enqueue_in support
+* (@RipTheJacker) : remove_delayed support
+* Kurt Werle (@kwerle) : explicit require spec for v020
+* (@dwilkie) : initial before_enqueue support
+* Marcin Balinski (@marcinb) : have_schedule_size_of matcher, schedule matcher at, in
+* (@alexeits) : fix matcher in bug with RSpec 2.8.0
+* (@ToadJamb) : encode/decode of Resque job arguments
+* Mateusz Konikowski (@mkonikowski) : support for anything matcher
Copyright
=========
Copyright (c) 2010-2011 Les Hill. See LICENSE for details.