Sha256: 8909a1645059ffaff75b66ff83e50025f06f7f781ddd63a9078a789f9096e923
Contents?: true
Size: 493 Bytes
Versions: 13
Compression:
Stored size: 493 Bytes
Contents
require 'data_sanity' require 'support/helper' require 'database_cleaner' require 'support/sample_app/config/environment' setup_sample_app RSpec::configure do |config| config.color_enabled = true config.run_all_when_everything_filtered = true config.before(:suite) do DatabaseCleaner.strategy = :transaction DatabaseCleaner.clean_with(:truncation) end config.before(:each) do DatabaseCleaner.start end config.after(:each) do DatabaseCleaner.clean end end
Version data entries
13 entries across 13 versions & 1 rubygems