Sha256: fde18687373a16429cf0e1271e5675e251130080f1492c212e9d0d5af7b0c015

Contents?: true

Size: 669 Bytes

Versions: 1

Compression:

Stored size: 669 Bytes

Contents

require 'rspec'
require 'rspec/core'
require 'rspec/expectations'
require 'mongoid'
require 'factory_girl'
require 'factories'
Dir[File.expand_path(File.join(File.dirname(__FILE__), '/../lib/', 'rspec_extensions_collection/**/*.rb'))].each {|f| require f}
Dir[File.join(File.dirname(__FILE__), "models/**/*.rb")].each {|f| require f}

Mongoid.configure do |config|
  name = "rspec_extensions_collection_test"
  host = "localhost"
  config.master = Mongo::Connection.new.db(name)
end

RSpec.configure do |config|
  # config.include RSpec::Matchers
  # config.include Mongoid::Matchers
  config.mock_with :rspec
  
  config.include RSpecExtensionsCollection::Matchers
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec_extensions_collection-0.0.4 spec/spec_helper.rb