Skip to content

Commit

Permalink
add failing test case for remote add with hostname alias
Browse files Browse the repository at this point in the history
  • Loading branch information
benpickles authored and mislav committed Nov 23, 2011
1 parent 2677562 commit 9680926
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/hub_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ def test_remote_from_abs_path
assert_forwarded "remote add origin /path"
end

def test_remote_from_ssh_config
assert_forwarded "remote add origin server:/git/repo.git"
end

def test_private_remote_origin_as_normal
assert_forwarded "remote add origin git@github.com:defunkt/resque.git"
end
Expand Down

0 comments on commit 9680926

Please sign in to comment.