You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2014/08/12 16:56:21 UTC
[13/13] fauxton commit: updated refs/heads/backbone.layout-upgrade to
755eb7a
Fix changesSpec
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/755eb7a7
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/755eb7a7
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/755eb7a7
Branch: refs/heads/backbone.layout-upgrade
Commit: 755eb7a7532f23eb22871ccb36559c6f18b6b941
Parents: 4c4308d
Author: Garren Smith <ga...@gmail.com>
Authored: Tue Aug 12 16:55:28 2014 +0200
Committer: Garren Smith <ga...@gmail.com>
Committed: Tue Aug 12 16:55:28 2014 +0200
----------------------------------------------------------------------
app/addons/documents/tests/views-changesSpec.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/755eb7a7/app/addons/documents/tests/views-changesSpec.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/tests/views-changesSpec.js b/app/addons/documents/tests/views-changesSpec.js
index 94ca585..8fa2f7b 100644
--- a/app/addons/documents/tests/views-changesSpec.js
+++ b/app/addons/documents/tests/views-changesSpec.js
@@ -28,7 +28,7 @@ define([
handlerSpy = sinon.spy(Views.Changes.prototype, 'toggleJson');
- beforeEach(function () {
+ beforeEach(function (done) {
var database = new Databases.Model({id: 'bla'});
database.buildChanges({descending: 'true', limit: '100', include_docs: 'true'} );
filteredView = new Views.Changes({
@@ -39,7 +39,7 @@ define([
model: model
});
viewSandbox = new ViewSandbox();
- viewSandbox.renderView(view);
+ viewSandbox.renderView(view, done);
});
afterEach(function () {