Sha256: 383bbed5a8a140a5e8d017a9ae126ddad83cf5f92695673e7740c07c2cea97a4
Contents?: true
Size: 399 Bytes
Versions: 83
Compression:
Stored size: 399 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/fixtures/methods' describe "Time#zone" 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" end end end
Version data entries
83 entries across 83 versions & 1 rubygems