Sha256: 4dd46b4fa322b2130e877af75ebcca1448e6e029a9ec514388c9ec12510f1b3f

Contents?: true

Size: 339 Bytes

Versions: 2

Compression:

Stored size: 339 Bytes

Contents

require 'bundler'
Bundler.require :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')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
qu-mongoid-0.2.1 spec/spec_helper.rb
qu-mongoid-0.2.0 spec/spec_helper.rb