summaryrefslogtreecommitdiff
path: root/spec/ruby/core/time/shared/local.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/time/shared/local.rb')
-rw-r--r--spec/ruby/core/time/shared/local.rb13
1 files changed, 4 insertions, 9 deletions
diff --git a/spec/ruby/core/time/shared/local.rb b/spec/ruby/core/time/shared/local.rb
index 2dba23dbd7..068e314999 100644
--- a/spec/ruby/core/time/shared/local.rb
+++ b/spec/ruby/core/time/shared/local.rb
@@ -6,18 +6,14 @@ describe :time_local, shared: true do
end
end
-=begin
platform_is_not :windows do
- describe "timezone changes" do
- it "correctly adjusts the timezone change to 'CET' on 'Europe/Amsterdam'" do
- with_timezone("Europe/Amsterdam") do
- Time.send(@method, 1970, 5, 16).to_a.should ==
- [0, 0, 0, 16, 5, 1970, 6, 136, false, "CET"]
- end
+ it "uses the 'CET' timezone with TZ=Europe/Amsterdam in 1970" do
+ with_timezone("Europe/Amsterdam") do
+ Time.send(@method, 1970, 5, 16).to_a.should ==
+ [0, 0, 0, 16, 5, 1970, 6, 136, false, "CET"]
end
end
end
-=end
end
describe :time_local_10_arg, shared: true do
@@ -43,5 +39,4 @@ describe :time_local_10_arg, shared: true do
end
end
end
-
end