From f430b6ff6fc17a08a5ebb11e6d7663a5ab3eed20 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Mon, 25 Jan 2016 21:46:53 -0600 Subject: [PATCH] tests: Correct phrasing of tests --- test/api/v3/unit/libs/collectionManipulators.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/api/v3/unit/libs/collectionManipulators.test.js b/test/api/v3/unit/libs/collectionManipulators.test.js index fff818b32e..e32e953d51 100644 --- a/test/api/v3/unit/libs/collectionManipulators.test.js +++ b/test/api/v3/unit/libs/collectionManipulators.test.js @@ -5,7 +5,7 @@ import { describe('Collection Manipulators', () => { describe('removeFromArray', () => { - it('removes item from specified array on document', () => { + it('removes element from array', () => { let array = ['a', 'b', 'c', 'd']; removeFromArray(array, 'c'); @@ -69,7 +69,7 @@ describe('Collection Manipulators', () => { expect(result).to.eql(false); }); - it('removal of element persists when mongoose document is saved', async () => { + it('persists removal of element when mongoose document is saved', async () => { let schema = new mongoose.Schema({ array: Array, });