Move $options validation into Parse Server

This commit is contained in:
Drew Gross
2016-06-13 01:14:26 -07:00
parent 452b737be4
commit f796d69d19
3 changed files with 9 additions and 8 deletions

View File

@@ -1186,7 +1186,7 @@ describe('Parse.Query testing', () => {
});
});
fit("regexes with invalid options fail", function(done) {
it("regexes with invalid options fail", function(done) {
var query = new Parse.Query(TestObject);
query.matches("myString", "FootBall", "some invalid option");
query.find(expectError(Parse.Error.INVALID_QUERY, done));