Sha256: 69e35aeb2712fb34c68ae690d23ff9820348979538aaf87cc24a2a47153f45e4

Contents?: true

Size: 280 Bytes

Versions: 77

Compression:

Stored size: 280 Bytes

Contents

require "spec_helper"

describe V8::C::Array do
  include V8::ExtSpec
  
  it "can be instantiated" do
    a = c::Array::New()
    a.Length().should eql(0)
  end
  
  it "maintains referential integrity" do
    v8_eval('a = []')
    v8_eval('a').should be(v8_eval('a'))
  end
end

Version data entries

77 entries across 77 versions & 5 rubygems

Version Path
therubyracer-0.9.6 spec/ext/array_spec.rb
therubyracer-0.9.5 spec/ext/array_spec.rb
therubyracer-0.9.4 spec/ext/array_spec.rb
therubyracer-0.9.3 spec/ext/array_spec.rb
therubyracer-0.9.3beta1 spec/ext/array_spec.rb
therubyracer-0.9.2 spec/ext/array_spec.rb
therubyracer-0.9.2beta1 spec/ext/array_spec.rb
therubyracer-0.9.1 spec/ext/array_spec.rb
therubyracer-0.9.1beta1 spec/ext/array_spec.rb
therubyracer-0.9.0 spec/ext/array_spec.rb
therubyracer-0.9.0beta7 spec/ext/array_spec.rb
therubyracer-0.9.0beta6 spec/ext/array_spec.rb
therubyracer-0.9.0beta5 spec/ext/array_spec.rb
therubyracer-0.9.0beta4 spec/ext/array_spec.rb
therubyracer-0.9.0beta3 spec/ext/array_spec.rb
therubyracer-0.9.0beta2 spec/ext/array_spec.rb
therubyracer-0.9.0beta1 spec/ext/array_spec.rb