Sha256: 2f1020d7fc20e50608677d2bfc3bdf4a9f46cfae6b2982680bc44a7146a9e9f7

Contents?: true

Size: 131 Bytes

Versions: 28

Compression:

Stored size: 131 Bytes

Contents

describe "Time#hour" do
  it "returns the hour of the day for a UTC time" do
    Time.new(1970, 1, 1, 0).hour.should == 0
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
opal-0.4.4 spec/rubyspec/core/time/hour_spec.rb
opal-0.4.3 spec/rubyspec/core/time/hour_spec.rb
opal-0.4.2 spec/rubyspec/core/time/hour_spec.rb
opal-0.4.1 spec/rubyspec/core/time/hour_spec.rb
opal-0.4.0 spec/rubyspec/core/time/hour_spec.rb
opal-0.3.44 spec/rubyspec/core/time/hour_spec.rb
opal-0.3.43 spec/rubyspec/core/time/hour_spec.rb
opal-0.3.42 spec/core/time/hour_spec.rb
opal-0.3.41 spec/core/time/hour_spec.rb
opal-0.3.40 spec/core/time/hour_spec.rb
opal-0.3.39 spec/core/time/hour_spec.rb
opal-0.3.38 spec/core/time/hour_spec.rb
opal-0.3.37 spec/core/time/hour_spec.rb
opal-0.3.36 spec/core/time/hour_spec.rb
opal-0.3.35 spec/core/time/hour_spec.rb
opal-0.3.34 spec/core/time/hour_spec.rb
opal-0.3.33 spec/core/time/hour_spec.rb
opal-0.3.32 spec/core/time/hour_spec.rb
opal-0.3.31 spec/core/time/hour_spec.rb
opal-0.3.30 spec/core/time/hour_spec.rb