aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2019-08-02 04:45:05 +0900
committerAkira Matsuda <ronnie@dio.jp>2019-08-02 05:36:38 +0900
commit3d561aab7560799369df925d7dd6c258ddc28325 (patch)
tree99e4529e7dd1eba15beafda047656243d980d7ee /activesupport
parent2ec1bad4ad83bdf8cecf055642ae3eb57d5fe919 (diff)
downloadrails-3d561aab7560799369df925d7dd6c258ddc28325.tar.gz
rails-3d561aab7560799369df925d7dd6c258ddc28325.tar.bz2
rails-3d561aab7560799369df925d7dd6c258ddc28325.zip
Let's try not to depend too much on other core extensions in a core extension test
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/core_ext/object/json_gem_encoding_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/object/json_gem_encoding_test.rb b/activesupport/test/core_ext/object/json_gem_encoding_test.rb
index 4cdb6ed09f..eef02f7458 100644
--- a/activesupport/test/core_ext/object/json_gem_encoding_test.rb
+++ b/activesupport/test/core_ext/object/json_gem_encoding_test.rb
@@ -22,7 +22,7 @@ class JsonGemEncodingTest < ActiveSupport::TestCase
JSONTest::EncodingTestCases.constants.each_with_index do |name|
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)
end
end