Sha256: 33abf0e4ad8ee5ac61ff8ad6cbf76106c739cc7e63e7d53839a3e7cb2899f883
Contents?: true
Size: 526 Bytes
Versions: 4
Compression:
Stored size: 526 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 "", stdout end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
jstdutil-0.3.3 | test/jstestdriver_test.rb |
jstdutil-0.3.2 | test/jstestdriver_test.rb |
jstdutil-0.3.1 | test/jstestdriver_test.rb |
jstdutil-0.3.0 | test/jstestdriver_test.rb |