1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/spec/c/external_spec.rb

12 lines
262 B
Ruby
Raw Normal View History

require 'spec_helper'
describe V8::C::External do
include C::ContextHelper
it "can store and retrieve a value" do
V8::C::HandleScope() do
o = Object.new
external = V8::C::External::New(o)
external.Value().should be(o)
end
end
end