Sha256: 2f4b2059edc13c7dab62ab6bc1864ec67ab99c0f7b6a7fc53b515a0aef5e309a
Contents?: true
Size: 724 Bytes
Versions: 83
Compression:
Stored size: 724 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/fixtures/methods' require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/shared/gm' require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/shared/gmtime' require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/shared/time_params' describe "Time#utc?" do it "returns true if time represents a time in UTC (GMT)" do Time.now.utc?.should == false end end describe "Time.utc" do it_behaves_like(:time_gm, :utc) it_behaves_like(:time_params, :utc) end describe "Time#utc" do it_behaves_like(:time_gmtime, :utc) end
Version data entries
83 entries across 83 versions & 1 rubygems