diff options
author | Luke Bennett <lbennett@gitlab.com> | 2019-05-22 06:03:11 +0300 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2019-05-22 06:03:11 +0300 |
commit | 19b6c8100b20271a24ec4d63cbc1b8da42300e43 (patch) | |
tree | 8a3fd7a488bbb739324add1446f7ea637e798f62 /spec | |
parent | e63b65cd4f5d8298cb0441a5e0e5a0321f739367 (diff) |
Resolve CE/EE diffs in api_spec
Part of single codebase changes.
Diffstat (limited to 'spec')
-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, }; |