Autofix Rubocop Rails/RootPathnameMethods (#23760)
This commit is contained in:
parent
48aeab90f6
commit
8fd3fc404d
8 changed files with 10 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue