Resolve CE/EE diffs in api_spec

Part of single codebase changes.
This commit is contained in:
Luke Bennett 2019-05-22 04:03:11 +01:00
parent e63b65cd4f
commit 19b6c8100b
No known key found for this signature in database
GPG Key ID: 402ED51FB5D306C2
1 changed files with 1 additions and 1 deletions

View File

@ -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,
};