1
0
Fork 0

Make shell-foxx-manager-install-spec pass

This commit is contained in:
Alan Plum 2015-09-24 11:53:19 +02:00
parent 400532043f
commit 95d99ebd16
1 changed files with 6 additions and 6 deletions

View File

@ -136,7 +136,7 @@ describe("Foxx Manager install", function() {
FoxxManager.install(fs.join(basePath, "malformed-controller-path"), "/unittest/broken");
expect(true).toBeFalsy("Managed to install broken application");
} catch(e) {
validateError(errors.ERROR_FILE_NOT_FOUND, e);
validateError(errors.ERROR_SYS_ERROR, e);
}
});
@ -181,7 +181,7 @@ describe("Foxx Manager install", function() {
FoxxManager.install(fs.join(basePath, "malformed-exports-path"), "/unittest/broken");
expect(true).toBeFalsy("Managed to install broken application");
} catch(e) {
validateError(errors.ERROR_FILE_NOT_FOUND, e);
validateError(errors.ERROR_SYS_ERROR, e);
}
});
@ -199,7 +199,7 @@ describe("Foxx Manager install", function() {
FoxxManager.install(fs.join(basePath, "malformed-setup-path"), "/unittest/broken");
expect(true).toBeFalsy("Managed to install broken application");
} catch(e) {
validateError(errors.ERROR_FILE_NOT_FOUND, e);
validateError(errors.ERROR_SYS_ERROR, e);
}
});
@ -208,7 +208,7 @@ describe("Foxx Manager install", function() {
FoxxManager.install(fs.join(basePath, "missing-controller-file"), "/unittest/broken");
expect(true).toBeFalsy("Managed to install broken application");
} catch(e) {
validateError(errors.ERROR_FILE_NOT_FOUND, e);
validateError(errors.ERROR_SYS_ERROR, e);
}
});
@ -217,7 +217,7 @@ describe("Foxx Manager install", function() {
FoxxManager.install(fs.join(basePath, "missing-exports-file"), "/unittest/broken");
expect(true).toBeFalsy("Managed to install broken application");
} catch(e) {
validateError(errors.ERROR_FILE_NOT_FOUND, e);
validateError(errors.ERROR_SYS_ERROR, e);
}
});
@ -226,7 +226,7 @@ describe("Foxx Manager install", function() {
FoxxManager.install(fs.join(basePath, "missing-setup-file"), "/unittest/broken");
expect(true).toBeFalsy("Managed to install broken application");
} catch(e) {
validateError(errors.ERROR_FILE_NOT_FOUND, e);
validateError(errors.ERROR_SYS_ERROR, e);
}
});
});