tests: fix broken tests.

This commit is contained in:
evazion
2022-10-30 15:44:45 -05:00
parent eff82c43d2
commit 042863b2a6
5 changed files with 9 additions and 9 deletions

View File

@@ -131,7 +131,7 @@ class Post < ApplicationRecord
end
def file(type = :original)
media_asset.variant(type).open_file
media_asset.variant(type).open_file!
end
def tagged_file_url(tagged_filenames: !CurrentUser.user.disable_tagged_filenames?)