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
This commit is contained in:
Phil Hughes 2019-05-22 07:39:35 +00:00
commit d1e4f045ed

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