tests: Correct phrasing of tests

This commit is contained in:
Blade Barringer
2016-01-25 21:46:53 -06:00
parent e5f1c44a3e
commit f430b6ff6f

View File

@@ -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,
});