Sha256: e98e3fd76bb4e3febce72c616fcf727f67f8ef167c40ab51cb169f3038f4ec81

Contents?: true

Size: 471 Bytes

Versions: 1

Compression:

Stored size: 471 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'

require 'byebug'

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.expect_with(:rspec) { |c| c.syntax = :should }
end

Version data entries

1 entries across 1 versions & 1 rubygems

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