Fix case of `YAML`

This commit is contained in:
John Bampton 2022-03-29 16:04:19 +10:00
parent 3b7f55c179
commit 2d55c05c37
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ module ActiveSupport
#
# Also, maps the +omap+ feature for YAML files
# (See https://yaml.org/type/omap.html) to support ordered items
# when loading from yaml.
# when loading from YAML.
#
# <tt>ActiveSupport::OrderedHash</tt> is namespaced to prevent conflicts
# with other implementations.

View File

@ -1009,7 +1009,7 @@ class OutputSafetyTest < ActiveSupport::TestCase
assert_predicate string, :html_safe?
end
test "emits normal string yaml" do
test "emits normal string YAML" do
assert_equal "foo".to_yaml, "foo".html_safe.to_yaml(foo: 1)
end