move check from classRouter to Schema.js

This commit is contained in:
jim1_lin
2016-03-02 12:21:18 +08:00
parent 4054c247ec
commit 5f9b5d54f3
3 changed files with 3 additions and 5 deletions

View File

@@ -108,7 +108,7 @@ describe('Parse Role testing', () => {
.then((r) => {
fail("_Role object should not save without name.");
}, (error) => {
expect(error.code).toEqual(135);
expect(error.code).toEqual(111);
done();
});
});