Sha256: 5149a808d50e83af1ae61c30365c298f64b7d20f9c021752ccbde631f2bc6091

Contents?: true

Size: 479 Bytes

Versions: 5

Compression:

Stored size: 479 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../dummy/config/environment', __FILE__)

require 'gaku/testing/deferred_garbage_collection'
require 'gaku/testing/coverage'

Rails.logger.level = 3

RSpec.configure do |config|
  config.mock_with :rspec
  config.order = 'random'

  config.before(:each) do
    $redis.flushdb
  end

  config.before(:all) do
    DeferredGarbageCollection.start
  end

  config.after(:all) do
    DeferredGarbageCollection.reconsider
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gaku-0.2.4 core/spec/spec_helper_base.rb
gaku-0.2.3 core/spec/spec_helper_base.rb
gaku-0.2.2 core/spec/spec_helper_base.rb
gaku-0.2.1 core/spec/spec_helper_base.rb
gaku-0.2.0 core/spec/spec_helper_base.rb