aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2017-01-29 08:40:34 +0900
committerAkira Matsuda <ronnie@dio.jp>2017-01-29 08:41:06 +0900
commit17848036ad1c4960924055030f0b70c5ca45ac6c (patch)
tree6e229b013b98d2bd943da4837ea128490f5e81d1 /activesupport
parent786710b0610b31234f4c44695a7689de0fb50301 (diff)
downloadrails-17848036ad1c4960924055030f0b70c5ca45ac6c.tar.gz
rails-17848036ad1c4960924055030f0b70c5ca45ac6c.tar.bz2
rails-17848036ad1c4960924055030f0b70c5ca45ac6c.zip
Missing require 'active_support/core_ext/hash/keys'
Without this, the test causes a "method redefined" warning because * first it loads I18n and defines Hash#deep_symbolize_keys inside I18n's lib/i18n/core_ext/hash.rb * then it loads AS/core_ext/hash/keys.rb afterwards
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/number_helper_i18n_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/test/number_helper_i18n_test.rb b/activesupport/test/number_helper_i18n_test.rb
index 4f58e6607a..a1d1c41dc2 100644
--- a/activesupport/test/number_helper_i18n_test.rb
+++ b/activesupport/test/number_helper_i18n_test.rb
@@ -1,5 +1,6 @@
require "abstract_unit"
require "active_support/number_helper"
+require "active_support/core_ext/hash/keys"
module ActiveSupport
class NumberHelperI18nTest < ActiveSupport::TestCase