mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
11 lines
No EOL
288 B
Ruby
11 lines
No EOL
288 B
Ruby
require 'spec_helper'
|
|
|
|
describe V8::C do
|
|
it "has constant methods for Undefined, Null, True and False" do
|
|
[:Undefined, :Null, :True, :False].each do |name|
|
|
constant = V8::C.send(name)
|
|
constant.should_not be_nil
|
|
V8::C.send(name).should be constant
|
|
end
|
|
end
|
|
end |