Sha256: 35b4c385b54b25c6d6db396905be962951d4051d0791fb89e443b09c0093d823

Contents?: true

Size: 489 Bytes

Versions: 1

Compression:

Stored size: 489 Bytes

Contents

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

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

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

%w(admin user book post).each do |file_name|
  require "support/#{file_name}"
end

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongoid_userstamp-0.4.0 spec/spec_helper.rb