Sha256: 454b9bf6eb59e553e893eba8520bccb29cfb3c0738c27a0ec073fc245f450d9b

Contents?: true

Size: 498 Bytes

Versions: 23

Compression:

Stored size: 498 Bytes

Contents

require 'coveralls'
Coveralls.wear!

require 'rubygems'
require 'bundler/setup'
require 'rails/all'

require 'rspec'
require 'rspec-aspic'

require 'mongoid'
require File.expand_path('../../lib/ants', __FILE__)


Mongoid.configure do |config|
  config.connect_to('mongoid_ants_test')
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

23 entries across 23 versions & 1 rubygems

Version Path
ants-0.3.14 spec/spec_helper.rb
ants-0.3.13 spec/spec_helper.rb
ants-0.3.12 spec/spec_helper.rb
ants-0.3.11 spec/spec_helper.rb
ants-0.3.10 spec/spec_helper.rb
ants-0.3.9 spec/spec_helper.rb
ants-0.3.5 spec/spec_helper.rb
ants-0.3.4 spec/spec_helper.rb
ants-0.3.3 spec/spec_helper.rb
ants-0.3.2 spec/spec_helper.rb
ants-0.3.1 spec/spec_helper.rb
ants-0.3.0 spec/spec_helper.rb
ants-0.2.8 spec/spec_helper.rb
ants-0.2.7 spec/spec_helper.rb
ants-0.2.6 spec/spec_helper.rb
ants-0.2.5 spec/spec_helper.rb
ants-0.2.4 spec/spec_helper.rb
ants-0.2.3 spec/spec_helper.rb
ants-0.2.2 spec/spec_helper.rb
ants-0.2.1 spec/spec_helper.rb