couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [13/13] fauxton commit: updated refs/heads/backbone.layout-upgrade to 755eb7a
Date Tue, 12 Aug 2014 14:56:21 GMT
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 <garren.smith@gmail.com>
Authored: Tue Aug 12 16:55:28 2014 +0200
Committer: Garren Smith <garren.smith@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 () {


Mime
View raw message