1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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
This commit is contained in:
Akira Matsuda 2017-01-29 08:40:34 +09:00
parent 786710b061
commit 17848036ad

View file

@ -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