diff options
author | elijah <elijah@riseup.net> | 2012-12-05 01:02:39 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-12-05 01:02:39 -0800 |
commit | 5a5879c51afc128ea723443de26458ebdc645c6a (patch) | |
tree | 7e18cd0880526bd550a5e8945ecb683e7fdf1a00 /test/unit/command_line_test.rb | |
parent | cc2459bf72db3990d15b83d6a07c184794215777 (diff) | |
download | leap_cli-5a5879c51afc128ea723443de26458ebdc645c6a.tar.gz leap_cli-5a5879c51afc128ea723443de26458ebdc645c6a.tar.bz2 |
fixed problems with ruby 1.8 and GLI, and added some tests.
Diffstat (limited to 'test/unit/command_line_test.rb')
-rw-r--r-- | test/unit/command_line_test.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/unit/command_line_test.rb b/test/unit/command_line_test.rb new file mode 100644 index 0000000..ec4c2d6 --- /dev/null +++ b/test/unit/command_line_test.rb @@ -0,0 +1,12 @@ +require File.expand_path('test_helper', File.dirname(__FILE__)) + +class CommandLineTest < MiniTest::Unit::TestCase + + def test_help + with_multiple_rubies do + output = leap_bin('help') + assert_equal 0, $?, "help should exit 0 -- #{output}" + end + end + +end |