Skip to content

Commit

Permalink
Use America/New_York through the whole Time#zone spec
Browse files Browse the repository at this point in the history
* Fixed #385.
  • Loading branch information
eregon committed Mar 6, 2017
1 parent 0fe99d2 commit b0de2aa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/time/zone_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b0de2aa

Please sign in to comment.