Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2017-08-24 19:07:45 +0300
committerRobert Schilling <rschilling@student.tugraz.at>2017-08-24 19:07:45 +0300
commit8ecd9b574f82ffb04aa789d2ab1979a0af5dd6f4 (patch)
tree1d23a2458e48013cc89d5e0d9277404bd4238c3a /spec
parent93ad83443a4d3b929e817d0dce174cda9aff3393 (diff)
Remove leftover API helper for removed CI API
Diffstat (limited to 'spec')
-rw-r--r--spec/support/api_helpers.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/support/api_helpers.rb b/spec/support/api_helpers.rb
index ac0aaa524b7..01aca74274c 100644
--- a/spec/support/api_helpers.rb
+++ b/spec/support/api_helpers.rb
@@ -45,18 +45,4 @@ module ApiHelpers
oauth_access_token: oauth_access_token
)
end
-
- def ci_api(path, user = nil)
- "/ci/api/v1/#{path}" +
-
- # Normalize query string
- (path.index('?') ? '' : '?') +
-
- # Append private_token if given a User object
- if user.respond_to?(:private_token)
- "&private_token=#{user.private_token}"
- else
- ''
- end
- end
end