Sha256: baec20b6c1b79ce29e55e72dc7421836526fd0afffc8676a035b06bf23518a5e

Contents?: true

Size: 147 Bytes

Versions: 71

Compression:

Stored size: 147 Bytes

Contents

describe "Kernel#class" do
  it "returns the class of the receiver" do
    Object.new.class.should == Object
    [].class.should == Array
  end
end

Version data entries

71 entries across 71 versions & 3 rubygems

Version Path
opal-0.10.6 spec/opal/core/kernel/class_spec.rb
opal-0.10.6.beta spec/opal/core/kernel/class_spec.rb
opal-0.10.5 spec/opal/core/kernel/class_spec.rb
opal-0.10.4 spec/opal/core/kernel/class_spec.rb
opal-0.11.0.rc1 spec/opal/core/kernel/class_spec.rb
opal-0.10.3 spec/opal/core/kernel/class_spec.rb
opal-0.10.2 spec/opal/core/kernel/class_spec.rb
opal-0.10.1 spec/opal/core/kernel/class_spec.rb
opal-0.10.0 spec/opal/core/kernel/class_spec.rb
opal-0.10.0.rc2 spec/opal/core/kernel/class_spec.rb
opal-0.9.4 spec/opal/core/kernel/class_spec.rb
opal-0.9.3 spec/opal/core/kernel/class_spec.rb
opal-0.10.0.rc1 spec/opal/core/kernel/class_spec.rb
opal-0.10.0.beta5 spec/opal/core/kernel/class_spec.rb
opal-0.10.0.beta4 spec/opal/core/kernel/class_spec.rb
opal-0.10.0.beta3 spec/opal/core/kernel/class_spec.rb
opal-0.10.0.beta2 spec/opal/core/kernel/class_spec.rb
opal-0.10.0.beta1 spec/opal/core/kernel/class_spec.rb
opal-0.9.2 spec/opal/core/kernel/class_spec.rb
opal-0.9.0 spec/opal/core/kernel/class_spec.rb