Merge pull request #35856 from prathamesh-sonpatki/fix-dep-warning
Fix deprecation warning about variants and formats
This commit is contained in:
commit
4c4cc7e396
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue