Sha256: 917a63686b67a73863a6eccb1613b41589f1063306c7179cbe540ab3e97d8f6c
Contents?: true
Size: 722 Bytes
Versions: 1
Compression:
Stored size: 722 Bytes
Contents
# $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '/../lib/rspec_extensions_collection')) require 'rspec' require 'rspec/core' require 'rspec/expectations' require 'mongoid' 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.3 | spec/spec_helper.rb |