Sha256: c01031ed12f72ca972fa21b0c8ad28c49f412077fa866693627f29e7d8ce783b

Contents?: true

Size: 180 Bytes

Versions: 17

Compression:

Stored size: 180 Bytes

Contents

# Delays garbage collection until the end of testing.
RSpec.configure do |config|

  config.before(:each) do
    GC.disable
  end

  config.after(:each) do
    GC.enable
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
hexx-rspec-0.5.2 lib/hexx-rspec/initializers/garbage_collection.rb
hexx-rspec-0.5.1 lib/hexx-rspec/initializers/garbage_collection.rb
hexx-rspec-0.4.2 config/initializers/garbage_collection.rb
hexx-rspec-0.4.1 config/initializers/garbage_collection.rb
hexx-rspec-0.4.0 config/initializers/garbage_collection.rb
hexx-rspec-0.3.1 config/initializers/garbage_collection.rb
hexx-rspec-0.3.0 config/initializers/garbage_collection.rb
hexx-rspec-0.2.2 config/initializers/garbage_collection.rb
hexx-rspec-0.2.1 config/initializers/garbage_collection.rb
hexx-rspec-0.2.0 config/initializers/garbage_collection.rb
hexx-rspec-0.1.0 config/initializers/garbage_collection.rb
hexx-rspec-0.0.1 config/initializers/garbage_collection.rb
hexx-suit-0.2.2 config/initializers/garbage_collection.rb
hexx-suit-0.2.1 config/initializers/garbage_collection.rb
hexx-suit-0.2.0 config/initializers/garbage_collection.rb
hexx-suit-0.1.0 config/initializers/garbage_collection.rb
hexx-suit-0.0.1 config/initializers/garbage_collection.rb