summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2019-05-22 07:39:35 +0000
committerPhil Hughes <me@iamphill.com>2019-05-22 07:39:35 +0000
commitd1e4f045ed12fb383182e2b5d414467f53d9590a (patch)
tree8c36ad32473479eebd21ad2801d8416cb890cf35 /spec
parentacd7e9e68c412fc500d85665ee582afba8cd9ebe (diff)
parent19b6c8100b20271a24ec4d63cbc1b8da42300e43 (diff)
downloadgitlab-ce-d1e4f045ed12fb383182e2b5d414467f53d9590a.tar.gz
Merge branch 'api-spec-scb' into 'master'
Resolve CE/EE diffs in api_spec Closes gitlab-ee#6611 See merge request gitlab-org/gitlab-ce!28576
Diffstat (limited to 'spec')
-rw-r--r--spec/javascripts/api_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/api_spec.js b/spec/javascripts/api_spec.js
index 494b3b934a8..805bb10bda6 100644
--- a/spec/javascripts/api_spec.js
+++ b/spec/javascripts/api_spec.js
@@ -288,7 +288,7 @@ describe('Api', () => {
it('creates a group label', done => {
const namespace = 'group/subgroup';
const labelData = { some: 'data' };
- const expectedUrl = `${dummyUrlRoot}/groups/${namespace}/-/labels`;
+ const expectedUrl = Api.buildUrl(Api.groupLabelsPath).replace(':namespace_path', namespace);
const expectedData = {
label: labelData,
};