Fixed ACL creation for #504.

This commit is contained in:
Fosco Marotto
2016-02-22 17:33:11 -08:00
parent 1f40c0a7cd
commit 5755126525
3 changed files with 17 additions and 10 deletions

View File

@@ -14,9 +14,6 @@ var hasAllPODobject = () => {
obj.set('aArray', ['contents', true, 5]);
obj.set('aGeoPoint', new Parse.GeoPoint({latitude: 0, longitude: 0}));
obj.set('aFile', new Parse.File('f.txt', { base64: 'V29ya2luZyBhdCBQYXJzZSBpcyBncmVhdCE=' }));
var objACL = new Parse.ACL();
objACL.setPublicWriteAccess(false);
obj.setACL(objACL);
return obj;
};
@@ -545,7 +542,7 @@ describe('Schema', () => {
done();
Parse.Object.enableSingleInstance();
});
})
});
});
it('can delete pointer fields and resave as string', done => {