Sha256: 6f266f1df1400f762c77385d2d01564e0e7ab9ed7fd87f77b4acc4e64b500b15

Contents?: true

Size: 553 Bytes

Versions: 3

Compression:

Stored size: 553 Bytes

Contents

require 'mongoid'
require 'active_support/all'

require 'rspec'

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

require_relative '../lib/mongoid/report.rb'
require_relative 'support/models.rb'

RSpec.configure do |config|
  require 'rspec/expectations'
  config.include RSpec::Matchers

  config.mock_with :rspec

  config.filter_run_excluding long: true unless ENV['ALL']

  config.after(:each) do
    Mongoid.purge!
  end

  config.backtrace_exclusion_patterns = [%r{lib\/rspec\/(core|expectations|matchers|mocks)}]
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongoid-report-0.2.2 spec/spec_helper.rb
mongoid-report-0.2.1 spec/spec_helper.rb
mongoid-report-0.2.0 spec/spec_helper.rb