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
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-14 16:33:31 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-14 16:33:31 +0400
commit634cbd71380f595f6f44ce93399b92fbee37f98f (patch)
treec421f7fd1b2cfbf396f8765e948b19fa47d1fd6e /spec/support/api_helpers.rb
parente6224942cee8f02d96e51098552a738f1d89860f (diff)
Refactor API classes. So api classes like Gitlab::Issues become API::Issues
Diffstat (limited to 'spec/support/api_helpers.rb')
-rw-r--r--spec/support/api_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/api_helpers.rb b/spec/support/api_helpers.rb
index c4514bf38be..ec9a326a1ea 100644
--- a/spec/support/api_helpers.rb
+++ b/spec/support/api_helpers.rb
@@ -18,7 +18,7 @@ module ApiHelpers
#
# Returns the relative path to the requested API resource
def api(path, user = nil)
- "/api/#{Gitlab::API.version}#{path}" +
+ "/api/#{API::API.version}#{path}" +
# Normalize query string
(path.index('?') ? '' : '?') +