Sha256: 51878420c81c14431ec429976baf018cddd35e97bd646040f5cd5f0082b199a9

Contents?: true

Size: 453 Bytes

Versions: 2

Compression:

Stored size: 453 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'mongoid-locker'

ENV['RACK_ENV'] = 'test'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  Mongoid.load! File.join(File.dirname(__FILE__), 'database.yml')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mongoid-locker-0.1.1 spec/spec_helper.rb
mongoid-locker-0.1.0 spec/spec_helper.rb