spec/spec_helper.rb in qu-mongoid-0.2.1 vs spec/spec_helper.rb in qu-mongoid-0.2.2

- old
+ new

@@ -3,10 +3,10 @@ require 'qu' require 'qu/backend/spec' RSpec.configure do |config| config.before do - Qu.backend = mock('a backend', :reserve => nil, :failed => nil, :completed => nil, + Qu.backend = double('a backend', :reserve => nil, :failed => nil, :completed => nil, :register_worker => nil, :unregister_worker => nil) Qu.failure = nil end end \ No newline at end of file