提交 3d561aab 编写于 作者: A Akira Matsuda

Let's try not to depend too much on other core extensions in a core extension test

上级 2ec1bad4
...@@ -22,7 +22,7 @@ class JsonGemEncodingTest < ActiveSupport::TestCase ...@@ -22,7 +22,7 @@ class JsonGemEncodingTest < ActiveSupport::TestCase
JSONTest::EncodingTestCases.constants.each_with_index do |name| JSONTest::EncodingTestCases.constants.each_with_index do |name|
JSONTest::EncodingTestCases.const_get(name).each_with_index do |(subject, _), i| JSONTest::EncodingTestCases.const_get(name).each_with_index do |(subject, _), i|
test("#{name[0..-6].underscore} #{i}") do test("#{name[0..-6]} #{i}") do
assert_same_with_or_without_active_support(subject) assert_same_with_or_without_active_support(subject)
end end
end end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册