diff --git a/Gemfile b/Gemfile index f7be312342..4bf008456e 100644 --- a/Gemfile +++ b/Gemfile @@ -15,5 +15,4 @@ gem 'rubocop-rake', '0.6.0' gem 'simplecov', '0.22.0' gem 'test-unit', '3.6.2' gem 'timecop', '0.9.8' -gem 'tzinfo', '2.0.6' gem 'yard', '0.9.36' diff --git a/test/test_en_locale.rb b/test/test_en_locale.rb index dcf225d859..d6dec7eed5 100644 --- a/test/test_en_locale.rb +++ b/test/test_en_locale.rb @@ -1,6 +1,5 @@ # frozen_string_literal: true -require 'tzinfo' require_relative 'test_helper' class TestEnLocale < Test::Unit::TestCase @@ -40,13 +39,6 @@ def test_values_trimmed check_hash(en_file) end - def test_en_timezones_are_valid_iana_identifiers - faker_time_zones = Faker::Address.translate('faker.address.time_zone') - iana_time_zones = TZInfo::Timezone.all_identifiers - - assert_empty(faker_time_zones.difference(iana_time_zones), "Found a time zone that isn't a valid IANA time zone identifier") - end - def check_hash(hash) hash.each { |key, value| check_value(value) unless key == 'separator' } end