Commit d1e4f045 authored by Phil Hughes's avatar Phil Hughes

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
parents acd7e9e6 19b6c810
...@@ -288,7 +288,7 @@ describe('Api', () => { ...@@ -288,7 +288,7 @@ describe('Api', () => {
it('creates a group label', done => { it('creates a group label', done => {
const namespace = 'group/subgroup'; const namespace = 'group/subgroup';
const labelData = { some: 'data' }; const labelData = { some: 'data' };
const expectedUrl = `${dummyUrlRoot}/groups/${namespace}/-/labels`; const expectedUrl = Api.buildUrl(Api.groupLabelsPath).replace(':namespace_path', namespace);
const expectedData = { const expectedData = {
label: labelData, label: labelData,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment