Sha256: 0d6355edb80737efbefb3dee965a855b8452d9460514264cbe8b0bac9ff7a9cb
Contents?: true
Size: 518 Bytes
Versions: 1
Compression:
Stored size: 518 Bytes
Contents
# frozen_string_literal: true $LOAD_PATH.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'].sort.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.1 | spec/spec_helper.rb |