Fix typo,
- Adds automatic downloadName to match original Parse API
This commit is contained in:
@@ -182,6 +182,7 @@ describe("test validate_receipt endpoint", () => {
|
||||
product.set("title", "a new title");
|
||||
return product.save();
|
||||
}).then(function(productAgain){
|
||||
expect(productAgain.get('downloadName')).toEqual(productAgain.get('download').name());
|
||||
expect(productAgain.get("title")).toEqual("a new title");
|
||||
done();
|
||||
}).fail(function(err){
|
||||
|
||||
Reference in New Issue
Block a user