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

Version Path
data_sanity-0.1.9 spec/spec_helper.rb
data_sanity-0.1.8 spec/spec_helper.rb
data_sanity-0.1.7 spec/spec_helper.rb
data_sanity-0.1.6 spec/spec_helper.rb
data_sanity-0.1.5 spec/spec_helper.rb
data_sanity-0.1.4 spec/spec_helper.rb
data_sanity-0.1.2 spec/spec_helper.rb
data_sanity-0.1.0 spec/spec_helper.rb
data_sanity-0.0.9 spec/spec_helper.rb
data_sanity-0.0.8 spec/spec_helper.rb
data_sanity-0.0.7 spec/spec_helper.rb
data_sanity-0.0.5 spec/spec_helper.rb
data_sanity-0.0.3 spec/spec_helper.rb