From b0de2aa1ad7cd4fcb20dda5640ae083a5fa659c5 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Mon, 6 Mar 2017 22:29:18 +0100 Subject: [PATCH] Use America/New_York through the whole Time#zone spec * Fixed #385. --- core/time/zone_spec.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/time/zone_spec.rb b/core/time/zone_spec.rb index 1e006b1125..709c1f83b2 100644 --- a/core/time/zone_spec.rb +++ b/core/time/zone_spec.rb @@ -3,9 +3,8 @@ describe "Time#zone" do platform_is_not :windows do it "returns the time zone used for time" do - # Testing with Asia/Kuwait here because it doesn't have DST. - with_timezone("Asia/Kuwait") do - Time.now.zone.should == "AST" + with_timezone("America/New_York") do + Time.now.zone.should == "EST" end end end