diff options
author | George Claghorn <george@basecamp.com> | 2017-07-26 15:09:25 -0400 |
---|---|---|
committer | George Claghorn <george@basecamp.com> | 2017-07-26 15:09:25 -0400 |
commit | c68bdcd209f7568c1dde91a4a6a967571222d2fa (patch) | |
tree | 1867d64b8a903d910bef516461ee0c45982f1056 /test/models | |
parent | 7644a581c2e1a27da4c39e9518c0844e098f7301 (diff) | |
download | rails-c68bdcd209f7568c1dde91a4a6a967571222d2fa.tar.gz rails-c68bdcd209f7568c1dde91a4a6a967571222d2fa.tar.bz2 rails-c68bdcd209f7568c1dde91a4a6a967571222d2fa.zip |
Fix test failure in CI due to platform differences
Diffstat (limited to 'test/models')
-rw-r--r-- | test/models/variant_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/models/variant_test.rb b/test/models/variant_test.rb index f06bd39a10..7d52f005a7 100644 --- a/test/models/variant_test.rb +++ b/test/models/variant_test.rb @@ -22,6 +22,6 @@ class ActiveStorage::VariantTest < ActiveSupport::TestCase image = read_image_variant(variant) assert_equal 100, image.width assert_equal 67, image.height - assert_equal "Grayscale", image.colorspace + assert_match /Gray/, image.colorspace end end |