Skip to content

Commit

Permalink
upgrade backbone to 1.2.1, UPDATE all the things
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Callender committed Jun 11, 2015
1 parent 85be062 commit c409fd2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -14,7 +14,7 @@
},
"dependencies": {
"async": "~0.9.0",
"backbone": "1.1.2",
"backbone": "^1.2.1",
"debug": "*",
"errorhandler": "~1.3.5",
"express": "^4.12.3",
Expand Down
9 changes: 8 additions & 1 deletion test/client/base_view.test.js
Expand Up @@ -9,11 +9,18 @@ describe('Base/View', function () {
var BaseView;

before(function () {
global.document = {
createElement: sinon.stub().returns('<div></div>')
}

clientTestHelper.before.apply(this, arguments);
BaseView = require('../../shared/base/view');
});

after(clientTestHelper.after);
after(function () {
global.document = undefined;
clientTestHelper.after.apply(this, arguments);
});

beforeEach(function () {
this.app = new App();
Expand Down

0 comments on commit c409fd2

Please sign in to comment.