Sha256: 9e6fa0ffbf17366df15bc5b4f1a8b0c7d493f9b3c194e9728a42e6b0a99f9112

Contents?: true

Size: 191 Bytes

Versions: 77

Compression:

Stored size: 191 Bytes

Contents

describe "Kernel#nil?" do
  it "should return false for all object that are not nil" do
    Object.new.nil?.should be_false
    0.nil?.should be_false
    false.nil?.should be_false
  end
end

Version data entries

77 entries across 77 versions & 3 rubygems

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