Enable Rubocop Rails/FilePath (#23854)
This commit is contained in:
parent
c97b611b6b
commit
1fe04f740a
6 changed files with 10 additions and 72 deletions
|
@ -38,7 +38,7 @@ RSpec.configure do |config|
|
|||
|
||||
config.after :suite do
|
||||
gc_counter = 0
|
||||
FileUtils.rm_rf(Dir["#{Rails.root}/spec/test_files/"])
|
||||
FileUtils.rm_rf(Dir[Rails.root.join('spec', 'test_files')])
|
||||
end
|
||||
|
||||
config.after :each do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue