Sha256: 070db6d9796f4598dd0ffd92070b5c4b3ea32a2bbe3278af041715d55c43f74a

Contents?: true

Size: 256 Bytes

Versions: 28

Compression:

Stored size: 256 Bytes

Contents

describe "Time#saturday?" do
  it "returns true if time represents Saturday" do
    Time.new(2000, 1, 1).saturday?.should == true
  end

  it "returns false if time doesn't represent Saturday" do
    Time.new(2000, 1, 2).saturday?.should == false
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

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