README.md in resque_spec-0.3.1 vs README.md in resque_spec-0.4.0

- old
+ new

@@ -102,9 +102,25 @@ def recalculate Resque.enqueue_at(Time.now + 3600, Person, id, :calculate) end end +Queue Size Specs +---------------- + +You can check the size of the queue in your specs too. + + describe "#recalculate" do + before do + ResqueSpec.reset! + end + + it "adds an entry to the Person queue" do + person.recalculate + Person.should have_queue_size_of(1) + end + end + Note on Patches/Pull Requests ============================= * Fork the project. * Make your feature addition or bug fix.