Commit 663681f7 authored by Phil Hughes's avatar Phil Hughes

fixed notes_spec.js

parent 00415806
......@@ -68,7 +68,7 @@ import timeoutPromise from './helpers/set_timeout_promise_helper';
it('submits an ajax request on tasklist:changed', function(done) {
spyOn(axios, 'patch').and.callFake((url, data) => {
expect(url).toBe(`${gl.TEST_HOST}/frontend-fixtures/merge-requests-project/merge_requests/1.json`);
expect(data.note.note).not.toBe(null);
expect(data.note).not.toBe(null);
done();
return Promise.resolve({ data: {} });
......
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