Fix unit test failures

This commit is contained in:
Michael Abashian 2016-12-01 12:01:41 -05:00
parent 5fe066124e
commit b93ca08b8c
3 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ describe('Controller: jobResultsController', () => {
.respond('');
$httpBackend
.whenGET('/api/')
.whenGET('/api')
.respond(200, '');
$scope = $rootScope.$new();

View File

@ -29,7 +29,7 @@ describe('Service: QuerySet', () => {
// @todo: improve appsource
// provide api version via package.json config block
$httpBackend
.whenGET('/api/')
.whenGET('/api')
.respond(200, '');
}));

View File

@ -81,7 +81,7 @@ describe('Controller: WorkflowAdd', () => {
ToJSON = _ToJSON_;
httpBackend
.whenGET('/api/')
.whenGET('/api')
.respond(200, '');
TemplatesService.getLabelOptions = jasmine.createSpy('getLabelOptions').and.returnValue(getLabelsDeferred.promise);