提交 7d3ff72b 编写于 作者: M Mislav Marohnić
上级 efffba39
...@@ -25,7 +25,7 @@ module Hub ...@@ -25,7 +25,7 @@ module Hub
end end
end end
LGHCONF = "http://github.com/guides/local-github-config" LGHCONF = "http://help.github.com/git-email-settings/"
def repo_owner def repo_owner
REMOTES[default_remote][:user] REMOTES[default_remote][:user]
......
...@@ -89,7 +89,7 @@ class HubTest < Test::Unit::TestCase ...@@ -89,7 +89,7 @@ class HubTest < Test::Unit::TestCase
stub_github_user(nil) stub_github_user(nil)
end end
assert_equal "** No GitHub user set. See http://github.com/guides/local-github-config\n", out assert_equal "** No GitHub user set. See http://help.github.com/git-email-settings/\n", out
end end
def test_your_public_clone_fails_without_config def test_your_public_clone_fails_without_config
...@@ -97,7 +97,7 @@ class HubTest < Test::Unit::TestCase ...@@ -97,7 +97,7 @@ class HubTest < Test::Unit::TestCase
stub_github_user(nil) stub_github_user(nil)
end end
assert_equal "** No GitHub user set. See http://github.com/guides/local-github-config\n", out assert_equal "** No GitHub user set. See http://help.github.com/git-email-settings/\n", out
end end
def test_private_clone_left_alone def test_private_clone_left_alone
...@@ -395,7 +395,7 @@ class HubTest < Test::Unit::TestCase ...@@ -395,7 +395,7 @@ class HubTest < Test::Unit::TestCase
stub_github_user(nil) stub_github_user(nil)
end end
assert_equal "** No GitHub user set. See http://github.com/guides/local-github-config\n", out assert_equal "** No GitHub user set. See http://help.github.com/git-email-settings/\n", out
end end
def test_push_two def test_push_two
...@@ -491,7 +491,7 @@ class HubTest < Test::Unit::TestCase ...@@ -491,7 +491,7 @@ class HubTest < Test::Unit::TestCase
out = hub("create") do out = hub("create") do
stub_github_token(nil) stub_github_token(nil)
end end
assert_equal "** No GitHub token set. See http://github.com/guides/local-github-config\n", out assert_equal "** No GitHub token set. See http://help.github.com/git-email-settings/\n", out
end end
def test_create_outside_git_repo def test_create_outside_git_repo
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册