Sha256: 1b5b222e568825d2ff5802eda6f2d7d897c5bd62261ab2240dd2e393eae2dce9
Contents?: true
Size: 512 Bytes
Versions: 1
Compression:
Stored size: 512 Bytes
Contents
require "rubygems" require "bundler/setup" require 'rspec' require 'rspec-aspic' require 'mongoid' require File.expand_path('../../lib/mongoid-sorted-relations', __FILE__) Mongoid.configure do |config| config.connect_to('mongoid_sortable_relations_test') config.allow_dynamic_fields = false end Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } RSpec.configure do |config| config.mock_with :rspec config.include RSpecAspic config.after :each do Mongoid.purge! end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongoid-sorted-relations-0.0.4 | spec/spec_helper.rb |