diff options
author | Tony Miller <mcfiredrill@gmail.com> | 2014-03-03 16:13:10 +0900 |
---|---|---|
committer | Arthur Neves <arthurnn@gmail.com> | 2015-02-06 22:46:38 -0500 |
commit | 89d48fb342279767b1446c8233ab6abefca7919c (patch) | |
tree | 35af2ce20161fd4111323c8ca5032fe862a14a71 /activesupport/test/time_zone_test.rb | |
parent | cdd3961e2b9990745a1aaf07e9a6981cd183b820 (diff) | |
download | rails-89d48fb342279767b1446c8233ab6abefca7919c.tar.gz rails-89d48fb342279767b1446c8233ab6abefca7919c.tar.bz2 rails-89d48fb342279767b1446c8233ab6abefca7919c.zip |
make zones_map private
Conflicts:
activesupport/lib/active_support/values/time_zone.rb
Diffstat (limited to 'activesupport/test/time_zone_test.rb')
-rw-r--r-- | activesupport/test/time_zone_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activesupport/test/time_zone_test.rb b/activesupport/test/time_zone_test.rb index cd7e184cda..7888b9919b 100644 --- a/activesupport/test/time_zone_test.rb +++ b/activesupport/test/time_zone_test.rb @@ -402,8 +402,7 @@ class TimeZoneTest < ActiveSupport::TestCase end def test_unknown_zones_dont_store_mapping_keys - ActiveSupport::TimeZone["bogus"] - assert !ActiveSupport::TimeZone.zones_map.key?("bogus") + assert_nil ActiveSupport::TimeZone["bogus"] end def test_new |