Sha256: 9dca331daffb96c161d28fd33cd8b96abaebe40308053c73b247783a7dca8ec0

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

$:.unshift(File.dirname(__FILE__) + '/../lib')
plugin_test_dir = File.dirname(__FILE__)

require 'rubygems'
require 'bundler/setup'

require 'rspec'
require 'logger'

require 'active_support'
require 'active_model'
require 'mongoid'

Dir["./spec/support/**/*.rb"].each {|f| require f}

ENV["MONGOID_ENV"] = "test"
Mongoid.load!(plugin_test_dir + "/db/mongoid.yml")

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid-sortable-0.0.1 spec/spec_helper.rb