Enable Rubocop Rails/FilePath (#23854)
This commit is contained in:
parent
c97b611b6b
commit
1fe04f740a
6 changed files with 10 additions and 72 deletions
|
@ -59,7 +59,7 @@ Rails.application.configure do
|
|||
end
|
||||
end
|
||||
|
||||
Paperclip::Attachment.default_options[:path] = "#{Rails.root}/spec/test_files/:class/:id_partition/:style.:extension"
|
||||
Paperclip::Attachment.default_options[:path] = Rails.root.join('spec', 'test_files', ':class', ':id_partition', ':style.:extension')
|
||||
|
||||
# set fake_data for pam, don't do real calls, just use fake data
|
||||
if ENV['PAM_ENABLED'] == 'true'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue