You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by de...@apache.org on 2013/09/05 19:34:52 UTC

[09/17] git commit: updated refs/heads/1807-Replication to 80a5e6e

Fauxton: View test sandbox renders to DOM in hidden div


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

Branch: refs/heads/1807-Replication
Commit: ae17b8c3a38247f14bf1427862233fec03065a8f
Parents: 64ac2d6
Author: Garren Smith <ga...@gmail.com>
Authored: Thu Aug 29 21:48:43 2013 +0200
Committer: Garren Smith <ga...@gmail.com>
Committed: Thu Aug 29 21:48:43 2013 +0200

----------------------------------------------------------------------
 src/fauxton/test/mocha/testUtils.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/ae17b8c3/src/fauxton/test/mocha/testUtils.js
----------------------------------------------------------------------
diff --git a/src/fauxton/test/mocha/testUtils.js b/src/fauxton/test/mocha/testUtils.js
index 3eb1118..f9643e8 100644
--- a/src/fauxton/test/mocha/testUtils.js
+++ b/src/fauxton/test/mocha/testUtils.js
@@ -24,7 +24,7 @@ function(chai, sinonChai) {
    
    _.extend(ViewSandbox.prototype, {
     initialize: function () {
-      this.$el = $('<div></div>');
+      this.$el = $('<div style="display:none"></div>').appendTo('body');
       this.$ = this.$el.find;
     },
     views: [],