summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2019-07-08 15:01:10 +0700
committerShinya Maeda <shinya@gitlab.com>2019-07-08 19:12:51 +0700
commit43dbb47f2b711f21904ea75786380a25ca890a67 (patch)
tree890b81030cb1f9d33ab9afa78b8cff08bae90fb8
parentc03f23c48311f0663458bbed33131fa3a6c80842 (diff)
downloadgitlab-ce-fix-workhorse-helpers-module-missing.tar.gz
Fix WorkhorseHelpers module is missingfix-workhorse-helpers-module-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