README.md in resque_spec-0.5.0 vs README.md in resque_spec-0.5.1
- old
+ new
@@ -98,9 +98,11 @@
end
end
(And I take note of the `before` block that is calling `reset!` for every spec)
+*(There is also a **have_scheduled_at** matcher)*
+
And I might write this as a Cucumber step
Then /the (\w?) has (\w?) scheduled/ do |thing, method|
thing_obj = instance_variable_get("@#{thing}")
thing_obj.class.should have_scheduled(thing_obj.id, method.to_sym)