1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
therubyracer/spec/c/context_spec.rb
2015-07-05 19:53:17 -05:00

15 lines
299 B
Ruby

require 'c_spec_helper'
describe V8::C::Context do
let(:isolate) { V8::C::Isolate::New() }
let(:context) { V8::C::Context::New(isolate) }
around do |example|
V8::C::HandleScope(isolate) do
example.run
end
end
it "can be instantiated" do
expect(context).to be
end
end