Sha256: 268aedde4713c85684bcd9490eaeedd3c936c159e1f82203d7b74338fe8271a1
Contents?: true
Size: 868 Bytes
Versions: 2
Compression:
Stored size: 868 Bytes
Contents
# This file is copied to spec/ when you run 'rails generate rspec:install' ENV["RAILS_ENV"] ||= 'test' require 'database_cleaner' require 'mongo_mapper' require 'vines' require_relative '../lib/vines/mongomapper' # require 'rspec/autorun' RSpec.configure do |config| # ## Mock Framework # # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line: # # config.mock_with :mocha # config.mock_with :flexmock # config.mock_with :rr # Run specs in random order to surface order dependencies. If you find an # order dependency and want to debug it, you can fix the order by providing # the seed, which is printed after each run. # --seed 1234 config.order = "random" config.before :each do DatabaseCleaner.strategy = :truncation DatabaseCleaner.start end config.after do DatabaseCleaner.clean end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vines-mongomapper-0.1.1 | spec/spec_helper.rb |
vines-mongomapper-0.1.0 | spec/spec_helper.rb |