Repository: couchdb-fauxton Updated Branches: refs/heads/master bb33bea1a -> eff09ef45
Cleanup: testUtils.js - underscore is not needed Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/eff09ef4 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/eff09ef4 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/eff09ef4 Branch: refs/heads/master Commit: eff09ef450aae6751ce45dcbce117d46fdb4f944 Parents: bb33bea Author: Robert Kowalski <[email protected]> Authored: Wed Oct 1 21:25:54 2014 +0200 Committer: Robert Kowalski <[email protected]> Committed: Mon Oct 6 19:25:55 2014 +0200 ---------------------------------------------------------------------- test/mocha/testUtils.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/eff09ef4/test/mocha/testUtils.js ---------------------------------------------------------------------- diff --git a/test/mocha/testUtils.js b/test/mocha/testUtils.js index 6b9e57f..d46193f 100644 --- a/test/mocha/testUtils.js +++ b/test/mocha/testUtils.js @@ -13,16 +13,15 @@ define([ "api", "chai", - "sinon-chai", - "underscore" + "sinon-chai" ], -function(FauxtonAPI,chai, sinonChai) { +function(FauxtonAPI, chai, sinonChai) { chai.use(sinonChai); var ViewSandbox = function () { this.initialize(); }; - + _.extend(ViewSandbox.prototype, { initialize: function () { this.$el = $('<div style="display:none"></div>').appendTo('body');
