projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5030cca
)
2896: Add test file. Currently, the test only checks that arv-ws command is available...
author
radhika <radhika@curoverse.com>
Mon, 16 Jun 2014 19:58:40 +0000
(15:58 -0400)
committer
radhika <radhika@curoverse.com>
Mon, 16 Jun 2014 19:58:40 +0000
(15:58 -0400)
sdk/cli/test/test_arv-ws.rb
[new file with mode: 0644]
patch
|
blob
diff --git a/sdk/cli/test/test_arv-ws.rb
b/sdk/cli/test/test_arv-ws.rb
new file mode 100644
(file)
index 0000000..
d972122
--- /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