From 89d48fb342279767b1446c8233ab6abefca7919c Mon Sep 17 00:00:00 2001 From: Tony Miller Date: Mon, 3 Mar 2014 16:13:10 +0900 Subject: make zones_map private Conflicts: activesupport/lib/active_support/values/time_zone.rb --- activesupport/test/time_zone_test.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'activesupport/test/time_zone_test.rb') 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 -- cgit v1.2.3