summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2019-07-09 05:55:24 +0000
committerLin Jen-Shin <godfat@godfat.org>2019-07-09 05:55:24 +0000
commit0aed6e598e3cab6d9fb4b1e643283be8a0504f72 (patch)
tree3f162091fb74fb9904f2534337973dba11cac5e1
parentbf172b115c206cb6ed6c2b271fad600f1548b43c (diff)
downloadgitlab-ce-0aed6e598e3cab6d9fb4b1e643283be8a0504f72.tar.gz
Fix WorkhorseHelpers module is missing
This interferes spec execution on local environment.
-rw-r--r--spec/support/helpers/git_http_helpers.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/helpers/git_http_helpers.rb b/spec/support/helpers/git_http_helpers.rb
index cd49bb148f2..c83860d7b51 100644
--- a/spec/support/helpers/git_http_helpers.rb
+++ b/spec/support/helpers/git_http_helpers.rb
@@ -1,4 +1,8 @@
+require_relative 'workhorse_helpers'
+
module GitHttpHelpers
+ include WorkhorseHelpers
+
def clone_get(project, options = {})
get "/#{project}/info/refs", params: { service: 'git-upload-pack' }, headers: auth_env(*options.values_at(:user, :password, :spnego_request_token))
end