diff options
author | Semyon Pupkov <mail@semyonpupkov.com> | 2018-12-11 11:29:58 +0500 |
---|---|---|
committer | Semyon Pupkov <mail@semyonpupkov.com> | 2018-12-11 11:29:58 +0500 |
commit | db267fa31bcbf991a2efb932b85a8935a13b0941 (patch) | |
tree | 2c734e642dd3f89e25d23d114ccc334e2ec60e81 /spec/support/carrierwave.rb | |
parent | 185f8a5da6b4bd6090aa41e5f39ad0381200ee84 (diff) | |
download | gitlab-ce-db267fa31bcbf991a2efb932b85a8935a13b0941.tar.gz |
Fix RSpec/HookArgument rubocop offense
Diffstat (limited to 'spec/support/carrierwave.rb')
-rw-r--r-- | spec/support/carrierwave.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/carrierwave.rb b/spec/support/carrierwave.rb index b4b016e408f..b376822d530 100644 --- a/spec/support/carrierwave.rb +++ b/spec/support/carrierwave.rb @@ -1,7 +1,7 @@ CarrierWave.root = File.expand_path('tmp/tests/public', Rails.root) RSpec.configure do |config| - config.after(:each) do + config.after do FileUtils.rm_rf(CarrierWave.root) end end |