Autofix Rubocop Rails/RootPathnameMethods (#23760)

This commit is contained in:
Nick Schonning 2023-02-21 19:57:15 -05:00 committed by GitHub
parent 48aeab90f6
commit 8fd3fc404d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 10 additions and 22 deletions

View file

@ -3,5 +3,5 @@
Fabricator(:custom_emoji) do
shortcode 'coolcat'
domain nil
image { File.open(Rails.root.join('spec', 'fixtures', 'files', 'emojo.png')) }
image { Rails.root.join('spec', 'fixtures', 'files', 'emojo.png').open }
end