Sha256: bc61ab0dd49e70da136d0234955c6f17321eb31cec0e3b784ffc9f69cc2e11b4

Contents?: true

Size: 172 Bytes

Versions: 26

Compression:

Stored size: 172 Bytes

Contents

require 'native'

describe "Native()" do
  it "should return nil for null or undefined" do
    Native(`null`).should be_nil
    Native(`undefined`).should be_nil
  end
end

Version data entries

26 entries across 26 versions & 3 rubygems

Version Path
opal-0.9.0.beta2 spec/opal/stdlib/native/new_spec.rb
opal-0.9.0.beta1 spec/opal/stdlib/native/new_spec.rb
opal-0.8.1 spec/opal/stdlib/native/new_spec.rb
opal-0.8.1.rc1 spec/opal/stdlib/native/new_spec.rb
opal-wedge-0.9.0.dev spec/opal/stdlib/native/new_spec.rb
opal-0.8.0 spec/opal/stdlib/native/new_spec.rb
opal-0.8.0.rc3 spec/opal/stdlib/native/new_spec.rb
opal-0.8.0.rc2 spec/opal/stdlib/native/new_spec.rb
opal-0.8.0.rc1 spec/opal/stdlib/native/new_spec.rb
opal-0.8.0.beta1 spec/opal/stdlib/native/new_spec.rb
opal-0.7.2 spec/opal/stdlib/native/new_spec.rb
opal-0.7.1 spec/opal/stdlib/native/new_spec.rb
opal-0.7.0 spec/opal/stdlib/native/new_spec.rb
opal-0.7.0.rc1 spec/opal/stdlib/native/new_spec.rb
opal-0.7.0.beta3 spec/opal/stdlib/native/new_spec.rb
opal-0.6.3 spec/opal/stdlib/native/new_spec.rb
opal-0.7.0.beta2 spec/opal/stdlib/native/new_spec.rb
opal-cj-0.7.0.beta2 spec/opal/stdlib/native/new_spec.rb
opal-cj-0.7.0.beta1 spec/opal/stdlib/native/new_spec.rb
opal-0.7.0.beta1 spec/opal/stdlib/native/new_spec.rb