Commit 182642b3 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett Committed by Jacob Schatz

Fix api_spec failure

parent a72e2f4e
......@@ -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