The tmp/storage folder can grow quickly, and before you know it it's taken over.

by Will Hodgson

A solution is to use RSpec callbacks in our configuration to clear that folder once the full suite has run.

# spec/rails_helper.rb

config.after(:suite) do
  FileUtils.rm_rf(Rails.root.join('tmp', 'storage'))
end