Sha256: db228255b0314db0a252dedd335b6aec2bf238416aa6be3129d71c77e483bacf

Contents?: true

Size: 234 Bytes

Versions: 75

Compression:

Stored size: 234 Bytes

Contents

require 'spec_helper'

describe V8::C::Object do
  include V8::ExtSpec

  it "always returns a copy of the same object if it is the same object" do
    v8_eval('var o = new Object()')
    v8_eval('o').should be(v8_eval('o'))
  end
end

Version data entries

75 entries across 75 versions & 5 rubygems

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