Sha256: f024249cb235714fd770b7a3a0229aa616dce2164311c52d3ea9573b50e42557

Contents?: true

Size: 728 Bytes

Versions: 9

Compression:

Stored size: 728 Bytes

Contents

require 'support/active_record'
require 'deferring'
require 'support/models'
require 'support/rails_versions'

RSpec.configure do |config|
  config.disable_monkey_patching!

  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  # 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'

  # Rollback all the database changes after each spec, poor man's
  # DatabaseCleaner :-)
  config.around do |example|
    ActiveRecord::Base.transaction do
      example.run
      raise ActiveRecord::Rollback
    end
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
deferring-0.0.10 spec/spec_helper.rb
deferring-0.0.9 spec/spec_helper.rb
deferring-0.0.8 spec/spec_helper.rb
deferring-0.0.7 spec/spec_helper.rb
deferring-0.0.6 spec/spec_helper.rb
deferring-0.0.5 spec/spec_helper.rb
deferring-0.0.4 spec/spec_helper.rb
deferring-0.0.3 spec/spec_helper.rb
deferring-0.0.2 spec/spec_helper.rb