Sha256: a56de4efcabb84569b2261d23508315bb9257519a154e533daa72b1d5d9e7cf9

Contents?: true

Size: 196 Bytes

Versions: 28

Compression:

Stored size: 196 Bytes

Contents

describe "A singleton class" do
  it "is Boolean for true" do
    true.singleton_class.should == Boolean
  end

  it "is Boolean for false" do
    false.singleton_class.should == Boolean
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

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