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

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

Will Hodgson


Who are Dragon Drop?

Dragon Drop is a specialist web and app development agency. The team has extensive full-stack technical credentials and a strong focus on user experience.

The Dragon Drop founding team have over 40 years of web development and project experience. They have managed or developed over 100 significant ecommerce and web projects during their careers, including implementations for major UK high street retailers, financial services companies and government agencies.

Their approach to innovative solutions stems from perspectives gained as retailer, software supplier and web agency.