Fix endsWith query test to use the correct query (#2965)
This commit is contained in:
committed by
Florent Vilmart
parent
48865c765f
commit
b6c19a53ee
@@ -1309,7 +1309,7 @@ describe('Parse.Query testing', () => {
|
|||||||
new TestObject({myString: someAscii + "end"}),
|
new TestObject({myString: someAscii + "end"}),
|
||||||
new TestObject({myString: someAscii})], function() {
|
new TestObject({myString: someAscii})], function() {
|
||||||
var query = new Parse.Query(TestObject);
|
var query = new Parse.Query(TestObject);
|
||||||
query.startsWith("myString", someAscii);
|
query.endsWith("myString", someAscii);
|
||||||
query.find({
|
query.find({
|
||||||
success: function(results, foo) {
|
success: function(results, foo) {
|
||||||
equal(results.length, 2);
|
equal(results.length, 2);
|
||||||
|
|||||||
Reference in New Issue
Block a user