diff --git a/test/hub_test.rb b/test/hub_test.rb index 0b5dd9d97..1c8c3fbe9 100644 --- a/test/hub_test.rb +++ b/test/hub_test.rb @@ -90,6 +90,12 @@ def test_private_remote_origin assert_command input, command end + def test_remote_origin_as_normal + input = "remote add origin git@github.com:defunkt/resque.git" + command = "git remote add origin git@github.com:defunkt/resque.git" + assert_command input, command + end + def test_public_submodule input = "submodule add wycats/bundler vendor/bundler" command = "git submodule add git://github.com/wycats.bundler.git"