test/test_command.rb in boom-0.1.2 vs test/test_command.rb in boom-0.2.0
- old
+ new
@@ -159,6 +159,13 @@
def test_storage_switch
Boom::Config.any_instance.stubs(:save).returns(true)
assert_match /We've switched you over to redis/, command('switch redis')
end
+ def test_version_switch
+ assert_match /#{Boom::VERSION}/, command('-v')
+ end
+
+ def test_version_long
+ assert_match /#{Boom::VERSION}/, command('--version')
+ end
end