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

Version Path
rhodes-3.3.4 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.3 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.3.beta.4 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.3.beta.3 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.3.beta.2 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.3.beta.1 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.2 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.2.beta.7 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.2.beta.6 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.2.beta.5 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.2.beta.4 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.2.beta.3 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.2.beta.2 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.2.beta.1 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.1 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.0 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.0.beta.3 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.0.beta.2 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.3.0.beta.1 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.2.3 spec/framework_spec/app/spec/core/time/utc_spec.rb