diff options
author | Phil Hughes <me@iamphill.com> | 2019-05-22 07:39:35 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-05-22 07:39:35 +0000 |
commit | d1e4f045ed12fb383182e2b5d414467f53d9590a (patch) | |
tree | 8c36ad32473479eebd21ad2801d8416cb890cf35 | |
parent | acd7e9e68c412fc500d85665ee582afba8cd9ebe (diff) | |
parent | 19b6c8100b20271a24ec4d63cbc1b8da42300e43 (diff) | |
download | gitlab-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
-rw-r--r-- | spec/javascripts/api_spec.js | 2 |
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, }; |