test/annotator_test.rb
# Check exit code while grabbing output
Check exit code while grabbing output
Check exit code while grabbing output
def execute(command)
    tmp = Tempfile.new "output"
    assert system("cd #{TestApp.path} && #{command} > #{tmp.path}")
    output = tmp.read
    tmp.unlink
    output
  end
def execute ( command ) tmp = Tempfile . new "output" assert system ( "cd #{TestApp.path} && #{command} > #{tmp.path}" ) output = tmp . read tmp . unlink output end
Check exit code while grabbing output
Check exit code while grabbing output
command
<not_specific>