stub options request in workflow add unit test

This commit is contained in:
Jake McDermott 2019-09-10 18:18:06 -04:00 committed by Jeff Bradberry
parent d73abda5d1
commit 08594682a4

View File

@ -97,6 +97,10 @@ describe('Controller: WorkflowAdd', () => {
.whenGET(/^\/api\/?$/)
.respond(200, '');
$httpBackend
.when('OPTIONS', '/')
.respond(200, '');
$httpBackend
.whenGET(/\/static\/*/)
.respond(200, {});