Sha256: 8ab99de92bb5e03e5a3d9833cf8db490a458f11116cafd9cfc59d6c434800143
Contents?: true
Size: 580 Bytes
Versions: 52
Compression:
Stored size: 580 Bytes
Contents
require File.expand_path('../../../spec_helper', __FILE__) require File.expand_path('../fixtures/methods', __FILE__) require File.expand_path('../shared/gm', __FILE__) require File.expand_path('../shared/gmtime', __FILE__) require File.expand_path('../shared/time_params', __FILE__) 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
52 entries across 52 versions & 2 rubygems