From 8f0ae7081d91cce1db0818b5602e1c4bdb2d296d Mon Sep 17 00:00:00 2001 From: Kulshekhar Kabra Date: Tue, 1 Nov 2016 17:00:22 +0530 Subject: [PATCH] Enable a few tests to test against Postgres (#2971) * Enable RestCreate related tests for Postgres * Enable tests in ParseRole for postgres * Enable one ParseObject test for postgres * Improve the way a jsonb field is updated. * Use Postgres 9.5 in Travis * Install Postgres 9.5 in Travis * Use sudo to install and setup Postgres 9.5 in Travis * Test if Postgres 9.5 can be used with trusty * Re-exclude a test for postgres * Revert travis to its original form --- spec/ParseObject.spec.js | 2 +- spec/ParseRole.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/ParseObject.spec.js b/spec/ParseObject.spec.js index a8ae046e..dafa64f0 100644 --- a/spec/ParseObject.spec.js +++ b/spec/ParseObject.spec.js @@ -1066,7 +1066,7 @@ describe('Parse.Object testing', () => { }); }); - it_exclude_dbs(['postgres'])("saving children in an array", function(done) { + it("saving children in an array", function(done) { var Parent = Parse.Object.extend("Parent"); var Child = Parse.Object.extend("Child"); diff --git a/spec/ParseRole.spec.js b/spec/ParseRole.spec.js index 16e4adc8..0ca2d124 100644 --- a/spec/ParseRole.spec.js +++ b/spec/ParseRole.spec.js @@ -76,7 +76,7 @@ describe('Parse Role testing', () => { return role.save({}, { useMasterKey: true }); }; - it_exclude_dbs(['postgres'])("should not recursively load the same role multiple times", (done) => { + it("should not recursively load the same role multiple times", (done) => { var rootRole = "RootRole"; var roleNames = ["FooRole", "BarRole", "BazRole"]; var allRoles = [rootRole].concat(roleNames);