couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [01/14] git commit: updated refs/heads/master to 44c5d66
Date Mon, 04 Nov 2013 13:46:42 GMT
Updated Branches:
  refs/heads/master b7c553158 -> 44c5d6657


Fauxton fix failing test


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/d692b31d
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/d692b31d
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/d692b31d

Branch: refs/heads/master
Commit: d692b31d4f16b688bfa1f3715557c194dfbec4cf
Parents: b7c5531
Author: Garren Smith <garren.smith@gmail.com>
Authored: Mon Oct 28 17:02:09 2013 +0200
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Mon Nov 4 15:37:50 2013 +0200

----------------------------------------------------------------------
 src/fauxton/test/core/paginateSpec.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/d692b31d/src/fauxton/test/core/paginateSpec.js
----------------------------------------------------------------------
diff --git a/src/fauxton/test/core/paginateSpec.js b/src/fauxton/test/core/paginateSpec.js
index 0b3acfb..114c434 100644
--- a/src/fauxton/test/core/paginateSpec.js
+++ b/src/fauxton/test/core/paginateSpec.js
@@ -43,8 +43,8 @@ define([
         collection: collection,
         previousUrlfn: function () {},
         nextUrlfn: function () {},
-        canShowPreviousfn: function () {},
-        canShowNextfn: function () {}
+        canShowPreviousfn: function () { return true; },
+        canShowNextfn: function () { return true;}
       });
       viewSandbox = new ViewSandbox();
       viewSandbox.renderView(paginate); 
@@ -58,6 +58,8 @@ define([
       beforeEach(function () {
         //do this so it doesn't throw an error on other unwired up components
         FauxtonAPI.triggerRouteEvent = function () {};
+        //FauxtonAPI.triggerRouteEvent.restore && FauxtonAPI.triggerRouteEvent.restore();
+        //FauxtonAPI.navigate.restore && FauxtonAPI.navigate.restore(); 
       });
 
       it('Should navigate', function () {


Mime
View raw message