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

Version Path
rhodes-3.1.1 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.1.1.beta spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.1.0 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.1.0.beta.5 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.1.0.beta.4 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.1.0.beta.3 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.1.0.beta.2 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.1.0.beta.1 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.0.2 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.0.2.beta.1 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.0.1 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.0.1.beta.8 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.0.1.beta.7 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.0.1.beta.6 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.0.1.beta.5 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.0.1.beta.4 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.0.1.beta.3 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.0.1.beta.2 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.0.0 spec/framework_spec/app/spec/core/time/utc_spec.rb
rhodes-3.0.0.beta.7 spec/framework_spec/app/spec/core/time/utc_spec.rb