Sha256: e7af23a100213d1a4ac6627324966cf6b9c4b03b2d8749c20e637ff576575252
Contents?: true
Size: 555 Bytes
Versions: 3
Compression:
Stored size: 555 Bytes
Contents
require 'noodall-core' require 'rspec' require 'database_cleaner' require 'factory_girl' require 'faker' $KCODE = 'UTF8' # For parameterize in Ruby1.8 MongoMapper.connection = Mongo::Connection.new MongoMapper.database = 'noodal-core-test' DatabaseCleaner.strategy = :truncation DatabaseCleaner.clean_with(:truncation) require 'factories/node' require 'factories/component' Rspec.configure do |config| config.mock_with :rspec config.before(:each) do DatabaseCleaner.start end config.after(:each) do DatabaseCleaner.clean end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
noodall-core-0.8.2 | spec/spec_helper.rb |
noodall-core-0.8.1 | spec/spec_helper.rb |
noodall-core-0.8.0 | spec/spec_helper.rb |