couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [39/50] [abbrv] git commit: updated refs/heads/1867-feature-plugins to 8aad450
Date Mon, 09 Sep 2013 09:53:59 GMT
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/3e3f2666
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/3e3f2666
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/3e3f2666

Branch: refs/heads/1867-feature-plugins
Commit: 3e3f26665fd93ad5c22a216ccc3008a20e0bdf7d
Parents: 5ea4151
Author: Garren Smith <garren.smith@gmail.com>
Authored: Thu Aug 29 21:48:43 2013 +0200
Committer: Jan Lehnardt <jan@apache.org>
Committed: Mon Sep 9 11:16:45 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/3e3f2666/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: [],


Mime
View raw message