Fauxton: Fix failing pagination test
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/777d5b17 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/777d5b17 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/777d5b17 Branch: refs/heads/import-master Commit: 777d5b17851bb5990cf2584fb8a7e1f400540ab2 Parents: 59b072f Author: Garren Smith <[email protected]> Authored: Mon Apr 14 08:53:36 2014 +0200 Committer: Garren Smith <[email protected]> Committed: Mon Apr 14 08:53:36 2014 +0200 ---------------------------------------------------------------------- app/addons/fauxton/tests/paginateSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/777d5b17/app/addons/fauxton/tests/paginateSpec.js ---------------------------------------------------------------------- diff --git a/app/addons/fauxton/tests/paginateSpec.js b/app/addons/fauxton/tests/paginateSpec.js index 8fc409a..d336ea8 100644 --- a/app/addons/fauxton/tests/paginateSpec.js +++ b/app/addons/fauxton/tests/paginateSpec.js @@ -31,7 +31,7 @@ define([ id:'myId2', doc: 'num2' }], { - database: {id: 'databaseId'}, + database: {id: 'databaseId', safeID: function () { return this.id;}}, design: '_design/myDoc' });
