Sha256: 021154c55b09801c6d1fe2f0d85708e0b4f5685ec00ee99dd065333f57f40398

Contents?: true

Size: 361 Bytes

Versions: 10

Compression:

Stored size: 361 Bytes

Contents

ENV["MONGOID_ENV"] = "test"
Mongoid.load!("config/mongoid.yml")

RSpec.configure do |config|
  config.before :each do
    Mongoid.observers = Mongoid::Audit::Sweeper
  end
  config.backtrace_clean_patterns = [
    # /\/lib\d*\/ruby\//,
    # /bin\//,
    # /gems/,
    # /spec\/spec_helper\.rb/,
    /lib\/rspec\/(core|expectations|matchers|mocks)/
    ]
end


Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mongoid-audit-0.2.0 spec/support/mongoid.rb
mongoid-audit-0.1.7 spec/support/mongoid.rb
mongoid-audit-0.1.6 spec/support/mongoid.rb
mongoid-audit-0.1.5 spec/support/mongoid.rb
mongoid-audit-0.1.4 spec/support/mongoid.rb
mongoid-audit-0.1.3 spec/support/mongoid.rb
mongoid-audit-0.1.2 spec/support/mongoid.rb
mongoid-audit-0.1.1 spec/support/mongoid.rb
mongoid-audit-0.1.0 spec/support/mongoid.rb
mongoid-audit-0.0.1 spec/support/mongoid.rb