Some wordsmithing on test descriptions.

This commit is contained in:
Arthur Cinader
2017-04-23 11:14:32 -07:00
parent 0f1aea1db1
commit a0c1974015

View File

@@ -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_',