Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (18 sloc) 0.531 kb
require "helper"
module Johnson
module SpiderMonkey
class ContextTest < Johnson::TestCase
def setup
@runtime = Johnson::Runtime.new(Johnson::SpiderMonkey::Runtime)
end
def test_wraps_global_unfuckedly
assert_same(@runtime.global, @runtime.evaluate("this"))
end
def test_provides_basic_runtime_interface
assert(@runtime.respond_to?(:evaluate))
assert(@runtime.respond_to?(:[]))
assert(@runtime.respond_to?(:[]=))
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.