test/test_command.rb in boom-0.0.4 vs test/test_command.rb in boom-0.0.5
- old
+ new
@@ -84,9 +84,16 @@
def test_edit
Boom::Command.stubs(:system).returns('')
assert_match 'Make your edits', command('edit')
end
- def test_edit
+ def test_help
assert_match 'boom help', command('help')
+ assert_match 'boom help', command('-h')
+ assert_match 'boom help', command('--help')
+ end
+
+ def test_noop_options
+ assert_match 'boom help', command('--anything')
+ assert_match 'boom help', command('-d')
end
end