Fauxton: Fix failing pagination test
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/57426f08 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/57426f08 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/57426f08 Branch: refs/heads/Query-UI-Cleanup Commit: 57426f08ec55b21d99718ec4a8bf1996cc568d34 Parents: 11f9d8a 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 ---------------------------------------------------------------------- src/fauxton/app/addons/fauxton/tests/paginateSpec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/57426f08/src/fauxton/app/addons/fauxton/tests/paginateSpec.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/addons/fauxton/tests/paginateSpec.js b/src/fauxton/app/addons/fauxton/tests/paginateSpec.js index 8fc409a..d336ea8 100644 --- a/src/fauxton/app/addons/fauxton/tests/paginateSpec.js +++ b/src/fauxton/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' });
