Sha256: 8477f90df5b20675f3d86c699f317eddef37baaf5aee0f99d2d58f628f7949f3

Contents?: true

Size: 509 Bytes

Versions: 2

Compression:

Stored size: 509 Bytes

Contents

# -*- encoding : utf-8 -*-
require 'rubygems'

$:.push File.expand_path('../../lib', __FILE__)

require 'active_support/all'
require 'mongoid'
require 'mongoid_userstamp'

Mongoid.configure do |config|
  config.connect_to(
    'mongoid_userstamp_test'
  )
end

Object.send :remove_const, :Config
Config = RbConfig

Dir[File.expand_path('../support/**/*.rb', __FILE__)].each do |f|
  require f
end

RSpec.configure do |config|
  config.mock_with :rspec
  
  config.after :suite do
    Mongoid.purge!
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
glebtv_mongoid_userstamp-0.4.1 spec/spec_helper.rb
glebtv_mongoid_userstamp-0.4.0 spec/spec_helper.rb