Sha256: 7efab9c574464f845b3db18c670156dfdc466abc12d067c60f4debd86d033396
Contents?: true
Size: 715 Bytes
Versions: 11
Compression:
Stored size: 715 Bytes
Contents
require 'rubygems' ENV['RAILS_ENV'] = 'test' require File.expand_path('../dummyapp/config/environment', __FILE__) require 'rspec/rails' require 'database_cleaner' require 'genspec' Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } RSpec.configure do |config| config.color_enabled = true config.formatter = 'documentation' config.use_transactional_fixtures = true config.order = "random" config.before(:suite) do DatabaseCleaner.strategy = :truncation end config.before(:each) do DatabaseCleaner.start DatabaseCleaner.clean end config.after(:each) do DatabaseCleaner.clean end end def reset_configuration Rollbar.reconfigure do |config| end end
Version data entries
11 entries across 11 versions & 1 rubygems