fix test travis was green but outdated
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/3628fe5e Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/3628fe5e Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/3628fe5e Branch: refs/heads/secondary-indexes Commit: 3628fe5e9b7381fa9a3311f68353e3b990f2cb68 Parents: 2da1d54 Author: Robert Kowalski <[email protected]> Authored: Mon Aug 18 20:59:27 2014 +0200 Committer: Robert Kowalski <[email protected]> Committed: Mon Aug 18 21:13:41 2014 +0200 ---------------------------------------------------------------------- app/addons/documents/tests/viewsSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/3628fe5e/app/addons/documents/tests/viewsSpec.js ---------------------------------------------------------------------- diff --git a/app/addons/documents/tests/viewsSpec.js b/app/addons/documents/tests/viewsSpec.js index 44e4843..df3abf7 100644 --- a/app/addons/documents/tests/viewsSpec.js +++ b/app/addons/documents/tests/viewsSpec.js @@ -35,9 +35,9 @@ define([ collection: database.allDocs }); - beforeEach(function () { + beforeEach(function (done) { viewSandbox = new ViewSandbox(); - viewSandbox.renderView(view); + viewSandbox.renderView(view, done); }); afterEach(function () {
