Sha256: 6fdcb405a375ab4c8409a31ca0aba512db13cc4f16c314a3a708f0620c6640f2
Contents?: true
Size: 528 Bytes
Versions: 8
Compression:
Stored size: 528 Bytes
Contents
require "test_helper" class JstdutilCliTest < Test::Unit::TestCase def setup @bin = File.join(File.dirname(__FILE__), "..", "bin", "jstestdriver") end context "running the binary" do should "report success to $stdout" do jar = "JsTestDriver.jar" stdout = nil capture_stderr do stdout = capture_stdout do with_jars(jar) do |dir| `ruby -Ilib #@bin --jar #{File.join(dir, jar)}` end end end assert_equal "\n", stdout end end end
Version data entries
8 entries across 8 versions & 1 rubygems