Skip to content

Commit

Permalink
try jpg instead of png, maybe more luck?
Browse files Browse the repository at this point in the history
  • Loading branch information
Mth0158 committed Nov 25, 2024
1 parent 2e94376 commit cb2d918
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ def is_expected_to_return_empty_metadata
describe "rotated image" do
let(:attachable) do
ActiveStorage::Blob.create_and_upload!(
io: File.open(Rails.root.join('public', 'image_700x500_rotated_90.png')),
filename: 'image_700x500_rotated_90.png',
content_type: 'image/png',
io: File.open(Rails.root.join('public', 'image_700x500_rotated_90.jpg')),
filename: 'image_700x500_rotated_90.jpg',
content_type: 'image/jpeg',
service_name: 'test'
)
end
Expand Down
Binary file added test/dummy/public/image_700x500_rotated_90.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed test/dummy/public/image_700x500_rotated_90.png
Binary file not shown.

0 comments on commit cb2d918

Please sign in to comment.