# Delayg garbage collection to the end of tests RSpec.configure do |config| config.before(:each) do GC.disable end config.after(:each) do GC.enable end end