mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
15 lines
299 B
Ruby
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
|