diff options
author | David H. Wilkins <dwilkins@conecuh.com> | 2019-08-02 18:18:09 -0500 |
---|---|---|
committer | David H. Wilkins <dwilkins@conecuh.com> | 2019-08-02 18:18:09 -0500 |
commit | 6391eeec3078f97fac6f6ef92ca0d8c8f0068667 (patch) | |
tree | 7d56653fad34d643afe9989550cd9f4dcbe37378 /spec/lib/gitlab | |
parent | bce8b66d516e906f6131d8a6dcae797def5288b6 (diff) | |
download | gitlab-ce-6391eeec3078f97fac6f6ef92ca0d8c8f0068667.tar.gz |
git-user-related local test failures
Some of the tests fail locally due to the git user being different
than it is on the test runners. I'd really like to be able to run
all of the tests locally.
Diffstat (limited to 'spec/lib/gitlab')
-rw-r--r-- | spec/lib/gitlab/middleware/go_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/middleware/go_spec.rb b/spec/lib/gitlab/middleware/go_spec.rb index f52095bf633..16595102375 100644 --- a/spec/lib/gitlab/middleware/go_spec.rb +++ b/spec/lib/gitlab/middleware/go_spec.rb @@ -202,7 +202,7 @@ describe Gitlab::Middleware::Go do def expect_response_with_path(response, protocol, path) repository_url = case protocol when :ssh - "ssh://git@#{Gitlab.config.gitlab.host}/#{path}.git" + "ssh://#{Gitlab.config.gitlab.user}@#{Gitlab.config.gitlab.host}/#{path}.git" when :http, nil "http://#{Gitlab.config.gitlab.host}/#{path}.git" end |