Sha256: 7ce566dd96b445bcd54549ccfd2d3af8f6ef09e4ae5ad3f9d93f1c262741496b

Contents?: true

Size: 491 Bytes

Versions: 1

Compression:

Stored size: 491 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')
  Mongoid.logger.level = Logger::WARN
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid-locker-0.2.0 spec/spec_helper.rb