Sha256: 84d98cebc0b67b00305cb5324115a7d314f6d75a388c980f6095df6ee990c1ee

Contents?: true

Size: 183 Bytes

Versions: 9

Compression:

Stored size: 183 Bytes

Contents

RSpec.configure do |config|
  config.after(:each) do
    if Rails.env.test? || Rails.env.cucumber?
      FileUtils.rm_rf(Dir["#{Rails.root}/spec/support/uploads"])
    end 
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
newsletter-3.2.25.1 spec/test_app/spec/support/carrierwave.rb
newsletter-3.2.22.0 spec/test_app/spec/support/carrierwave.rb
newsletter-3.2.7 spec/test_app/spec/support/carrierwave.rb
newsletter-3.2.6 spec/test_app/spec/support/carrierwave.rb
newsletter-3.2.5 spec/test_app/spec/support/carrierwave.rb
newsletter-3.2.4 spec/test_app/spec/support/carrierwave.rb
newsletter-3.2.2 spec/test_app/spec/support/carrierwave.rb
newsletter-3.2.1 spec/test_app/spec/support/carrierwave.rb
newsletter-3.2.0 spec/test_app/spec/support/carrierwave.rb