Moved sandbox.js to mocks directory

This commit is contained in:
Blade Barringer
2015-06-21 20:02:48 -05:00
parent 7064871557
commit b4c4b891a1
2 changed files with 9 additions and 10 deletions

View File

@@ -0,0 +1,9 @@
var sandbox;
beforeEach(function() {
sandbox = sinon.sandbox.create();
});
afterEach(function() {
sandbox.restore();
});

View File

@@ -1,15 +1,5 @@
beforeEach(module('habitrpg'));
var sandbox;
beforeEach(function() {
sandbox = sinon.sandbox.create();
});
afterEach(function() {
sandbox.restore();
});
specHelper = {
newUser: function(){
var buffs = {per:0, int:0, con:0, str:0, stealth: 0, streaks: false};