Merge pull request #3744 from acinader/fix-some-typos-pg-init-options-test
Some wordsmithing on test descriptions.
This commit is contained in:
@@ -29,7 +29,7 @@ const GameScore = Parse.Object.extend({
|
|||||||
});
|
});
|
||||||
|
|
||||||
describe('Postgres database init options', () => {
|
describe('Postgres database init options', () => {
|
||||||
it('create server with public schema databaseOptions,shoud be ok', (done) => {
|
it('should create server with public schema databaseOptions', (done) => {
|
||||||
reconfigureServer({
|
reconfigureServer({
|
||||||
databaseAdapter: new PostgresStorageAdapter({
|
databaseAdapter: new PostgresStorageAdapter({
|
||||||
uri: postgresURI, collectionPrefix: 'test_',
|
uri: postgresURI, collectionPrefix: 'test_',
|
||||||
@@ -43,7 +43,7 @@ describe('Postgres database init options', () => {
|
|||||||
score.save().then(done, fail);
|
score.save().then(done, fail);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('create server with not exists schema databaseOptions,shoud be fail', (done) => {
|
it('should fail to create server if schema databaseOptions does not exist', (done) => {
|
||||||
reconfigureServer({
|
reconfigureServer({
|
||||||
databaseAdapter: new PostgresStorageAdapter({
|
databaseAdapter: new PostgresStorageAdapter({
|
||||||
uri: postgresURI, collectionPrefix: 'test_',
|
uri: postgresURI, collectionPrefix: 'test_',
|
||||||
|
|||||||
Reference in New Issue
Block a user