Sha256: 67242c27e75eeee74c22f214977b2e462a46c5a18d37e68ce08cbcad645a6241
Contents?: true
Size: 633 Bytes
Versions: 3
Compression:
Stored size: 633 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rubygems' require 'rspec' require 'rspec/its' require 'database_cleaner' require 'mongoid-scroll' Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each do |f| require f end Mongoid.configure do |config| config.connect_to 'mongoid_scroll_test' end RSpec.configure do |config| config.before :all do Mongoid.logger.level = Logger::INFO Mongo::Logger.logger.level = Logger::INFO if Mongoid::Compatibility::Version.mongoid5_or_newer? end config.before :each do DatabaseCleaner.clean end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mongoid-scroll-1.0.1 | spec/spec_helper.rb |
mongoid-scroll-1.0.0 | spec/spec_helper.rb |
mongoid-scroll-0.3.7 | spec/spec_helper.rb |