Fix Rails/RootPathnameMethods
cop (#31582)
This commit is contained in:
parent
5bcfe8d421
commit
bcc4b1078c
6 changed files with 6 additions and 6 deletions
|
@ -28,7 +28,7 @@ RSpec.configure do |config|
|
|||
end
|
||||
|
||||
config.after :suite do
|
||||
FileUtils.rm_rf(Dir[Rails.root.join('spec', 'test_files')])
|
||||
FileUtils.rm_rf(Rails.root.glob('spec/test_files'))
|
||||
end
|
||||
|
||||
# Use the GitHub Annotations formatter for CI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue