From 5b62825e8f05d57cdf1c4d5a1f4e6aa81ecf5a76 Mon Sep 17 00:00:00 2001 From: Louis Chatriot Date: Thu, 30 May 2013 15:25:51 +0200 Subject: [PATCH] Finished correcting typos --- test/db.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/db.test.js b/test/db.test.js index a3eec03..55fe14b 100644 --- a/test/db.test.js +++ b/test/db.test.js @@ -1220,7 +1220,7 @@ describe('Database', function () { }); }); - it('Can initialize multiple indexes', function (done) { + it('Can initialize multiple indexes on a database load', function (done) { var now = new Date() , rawData = model.serialize({ _id: "aaa", z: "1", a: 2, ages: [1, 5, 12] }) + '\n' + model.serialize({ _id: "bbb", z: "2", a: 'world' }) + '\n' + @@ -1388,7 +1388,7 @@ describe('Database', function () { }); }); - it('If the index has a unique constraint, others cannot be modified when it raises an error', function (done) { + it('If an index has a unique constraint, others cannot be modified when it raises an error', function (done) { d.ensureIndex({ fieldName: 'nonu1' }); d.ensureIndex({ fieldName: 'uni', unique: true }); d.ensureIndex({ fieldName: 'nonu2' });