Commit d245b723 authored by Phil Hughes's avatar Phil Hughes

fixed mock URL that was causing request to fail

parent 2ec6a7e1
......@@ -95,7 +95,7 @@ describe('RepoEditor', () => {
vm.file.content = 'testing 123';
vm.$store.state.viewer = 'diff';
mock.onPost('/namespace/project/preview_markdown').reply(200, {
mock.onPost(/(.*)\/preview_markdown/).reply(200, {
body: '<p>testing 123</p>',
});
......
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