Merge pull request #35856 from prathamesh-sonpatki/fix-dep-warning

Fix deprecation warning about variants and formats
This commit is contained in:
Kasper Timm Hansen 2019-04-04 16:53:30 +02:00 committed by GitHub
commit 4c4cc7e396
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class FixtureResolverTest < ActiveSupport::TestCase
assert_equal 1, templates.size, "expected one template"
assert_equal "this text", templates.first.source
assert_equal "arbitrary/path", templates.first.virtual_path
assert_equal [:html], templates.first.formats
assert_equal ["variant"], templates.first.variants
assert_equal :html, templates.first.format
assert_equal "variant", templates.first.variant
end
end