Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (12 sloc) 349 Bytes
require 'bundler'
Bundler.require :default, :test
require 'qu'
require 'qu/backend/spec'
RSpec.configure do |config|
config.before do
Qu.backend = mock('a backend', :reserve => nil, :failed => nil, :completed => nil,
:register_worker => nil, :unregister_worker => nil)
Qu.failure = nil
end
end
Qu.logger = Logger.new('/dev/null')
Jump to Line
Something went wrong with that request. Please try again.