From 8ad517174c8b4425e2a7a54f9e06b4e777d97751 Mon Sep 17 00:00:00 2001 From: Jason Dobry Date: Tue, 17 May 2016 14:53:07 -0700 Subject: [PATCH] Prepare for 0.7.2 --- CHANGELOG.md | 8 ++++++++ package.json | 12 +++++++----- test/findAll.test.js | 6 ++++-- 3 files changed, 19 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb1ff01..1e35c19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +##### 0.7.2 - 17 May 2016 + +###### Bug fixes +- Improve findAllGroupedWhere test + +###### Other +- Tweak deps + ##### 0.7.1 - 16 May 2016 ###### Bug fixes diff --git a/package.json b/package.json index 5fbfb53..3e1098e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "js-data-adapter", "description": "Base adapter class that all other js-data adapters extend.", - "version": "0.7.1", + "version": "0.7.2", "homepage": "https://github.com/js-data/js-data-adapter", "repository": { "type": "git", @@ -64,10 +64,12 @@ "release": "npm test && repo-tools updates && repo-tools changelog && repo-tools authors" }, "peerDependencies": { - "chai": "3.x", - "js-data": "^3.0.0-beta.6", - "mocha": "2.x", - "sinon": "1.x" + "js-data": "^3.0.0-beta.6" + }, + "dependencies": { + "chai": "^3.5.0", + "mocha": "^2.4.5", + "sinon": "^1.17.4" }, "devDependencies": { "babel-plugin-syntax-async-functions": "6.8.0", diff --git a/test/findAll.test.js b/test/findAll.test.js index d94e382..1473fcf 100644 --- a/test/findAll.test.js +++ b/test/findAll.test.js @@ -449,6 +449,7 @@ export default function (options) { if (options.hasFeature('findAllGroupedWhere')) { it('should support filtering grouped "where" clauses', async function () { + this.toClear.push('Post') const posts = await adapter.createMany(Post, [ { status: 'draft', content: 'foo' }, { status: 'broken', content: 'bar' }, @@ -484,10 +485,11 @@ export default function (options) { '=': 'flagged' } } - ] + ], + orderBy: 'status' } - assert.objectsEqual(await adapter.findAll(Post, query), [posts[0], posts[2], posts[4]]) + assert.objectsEqual(await adapter.findAll(Post, query), [posts[0], posts[4], posts[2]]) }) } })