Sha256: 2987299e9af194ceb807b46d75d184438e0e81963b5bde443128af004bc23f80
Contents?: true
Size: 591 Bytes
Versions: 23
Compression:
Stored size: 591 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), "/../../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
Version data entries
23 entries across 23 versions & 3 rubygems