[ARVADOS] updated: 91cea2d82e477833d322b7267988c490ed284b62
git at public.curoverse.com
git at public.curoverse.com
Mon Jun 16 16:01:00 EDT 2014
Summary of changes:
sdk/cli/test/test_arv-ws.rb | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 sdk/cli/test/test_arv-ws.rb
via 91cea2d82e477833d322b7267988c490ed284b62 (commit)
from 5030cca0ec767bf6e1ba630f91938130731ed6cc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 91cea2d82e477833d322b7267988c490ed284b62
Author: radhika <radhika at curoverse.com>
Date: Mon Jun 16 15:58:40 2014 -0400
2896: Add test file. Currently, the test only checks that arv-ws command is available and the options.
diff --git a/sdk/cli/test/test_arv-ws.rb b/sdk/cli/test/test_arv-ws.rb
new file mode 100644
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
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list