Sha256: 6fb5d2e7edfec163a0d67fb4d43a087c909b0df49dd0b4697cc1cf51dc82282b

Contents?: true

Size: 250 Bytes

Versions: 28

Compression:

Stored size: 250 Bytes

Contents

describe "Time#friday?" do
  it "returns true if the time represents Friday" do
    Time.new(2000, 1, 7).friday?.should == true
  end

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

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
opal-0.3.29 spec/core/time/friday_spec.rb
opal-0.3.28 spec/core/time/friday_spec.rb
opal-0.3.27 spec/core/time/friday_spec.rb
opal-0.3.26 spec/core/time/friday_spec.rb
opal-0.3.25 spec/core/time/friday_spec.rb
opal-0.3.22 spec/core/time/friday_spec.rb
opal-0.3.21 test/core/time/friday_spec.rb
opal-0.3.20 test/core/time/friday_spec.rb