Commit 4aba9f8e authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'fix-api_spec-ee-master-failure' into 'master'

Fix api_spec failure

Closes #3964

See merge request gitlab-org/gitlab-ee!3315
parents a72e2f4e 182642b3
......@@ -171,7 +171,7 @@ describe('Api', () => {
it('creates a new group label', (done) => {
const namespace = 'some namespace';
const labelData = { some: 'data' };
const expectedUrl = `${dummyUrlRoot}/groups/${namespace}/labels`;
const expectedUrl = Api.buildUrl(Api.groupLabelsPath).replace(':namespace_path', namespace);
const expectedData = {
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