Skip to content

Commit

Permalink
Removed test for deprecated ASt combine_options transformation
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapandit17 authored Mar 3, 2021
1 parent 14f35cd commit 12613ac
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions activestorage/test/models/variant_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,6 @@ class ActiveStorage::VariantTest < ActiveSupport::TestCase
assert_match(/RGB/, image.colorspace)
end

test "variation with :combine_options is not supported" do
blob = create_file_blob(filename: "racecar.jpg")
assert_raises(ArgumentError) do
blob.variant(combine_options: {
resize: "100x100",
monochrome: false
}).processed
end
end

test "center-weighted crop of JPEG blob using :resize_to_fill" do
blob = create_file_blob(filename: "racecar.jpg")
variant = blob.variant(resize_to_fill: [100, 100]).processed
Expand Down

0 comments on commit 12613ac

Please sign in to comment.