Fix endsWith query test to use the correct query (#2965)

This commit is contained in:
Kulshekhar Kabra
2016-10-31 17:42:58 +05:30
committed by Florent Vilmart
parent 48865c765f
commit b6c19a53ee

View File

@@ -1309,7 +1309,7 @@ describe('Parse.Query testing', () => {
new TestObject({myString: someAscii + "end"}),
new TestObject({myString: someAscii})], function() {
var query = new Parse.Query(TestObject);
query.startsWith("myString", someAscii);
query.endsWith("myString", someAscii);
query.find({
success: function(results, foo) {
equal(results.length, 2);