Sha256: 2a97d9dd3851e194b4bfc457f0b7fea9098fa95b38671f134c63ea021b3a4254
Contents?: true
Size: 299 Bytes
Versions: 22
Compression:
Stored size: 299 Bytes
Contents
require "#{File.dirname(__FILE__)}/../spec_helper.rb" include V8 describe C::Object do it "has a reference to its calling context" do C::Context.new.open do |cxt| o = cxt.eval('new Object()', '<eval>'); o.context.should == cxt o.context.should be_eql(cxt) end end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
therubyracer-0.4.9-x86-darwin-9 | spec/ext/obj_spec.rb |
therubyracer-0.4.9 | spec/ext/obj_spec.rb |