Add strip whitespace and trailing eol to spec too. (#3159)

This commit is contained in:
Arthur Cinader
2016-12-01 18:45:49 -08:00
committed by Florent Vilmart
parent 8359284329
commit 37daafc7b0
19 changed files with 38 additions and 36 deletions

View File

@@ -192,14 +192,14 @@ describe_only_db('mongo')('MongoStorageAdapter', () => {
it("handles updating a single object with array, object date", (done) => {
let adapter = new MongoStorageAdapter({ uri: databaseURI });
let schema = { fields: {
array: { type: 'Array' },
object: { type: 'Object' },
date: { type: 'Date' },
} };
adapter.createObject('MyClass', schema, {})
.then(() => adapter._rawFind('MyClass', {}))
.then(results => {