X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5030cca0ec767bf6e1ba630f91938130731ed6cc..91cea2d82e477833d322b7267988c490ed284b62:/sdk/cli/test/test_arv-ws.rb diff --git a/sdk/cli/test/test_arv-ws.rb b/sdk/cli/test/test_arv-ws.rb new file mode 100644 index 0000000000..d972122d82 --- /dev/null +++ b/sdk/cli/test/test_arv-ws.rb @@ -0,0 +1,21 @@ +require 'minitest/autorun' + +class TestArvWs < Minitest::Test + def setup + end + + def test_arv_ws_get_help + out, err = capture_subprocess_io do + system ('arv-ws -h') + end + assert_equal '', err + end + + def test_arv_ws_such_option + out, err = capture_subprocess_io do + system ('arv-ws --junk') + end + refute_equal '', err + end + +end