lib/resque_spec.rb in resque_spec-0.9.3 vs lib/resque_spec.rb in resque_spec-0.10.0
- old
+ new
@@ -5,9 +5,10 @@
module ResqueSpec
include Resque::Helpers
extend self
attr_accessor :inline
+ attr_accessor :disable_ext
def dequeue(queue_name, klass, *args)
queue_by_name(queue_name).delete_if do |job|
job[:class] == klass.to_s && args.empty? || job[:args] == args
end