Fix sinon assertions

This commit is contained in:
Blade Barringer
2015-08-24 07:46:37 -05:00
parent bc24fa8130
commit fbd4490dbc

View File

@@ -74,13 +74,8 @@ describe('groupServices', function() {
} }
beforeEach(function() { beforeEach(function() {
sinon.spy(user, 'sync'); sandbox.spy(user, 'sync');
sinon.stub(console, 'log', function(arg) { return true; }); sandbox.stub(console, 'log');
});
afterEach(function() {
user.sync.restore();
console.log.restore();
}); });
describe('questAccept', function() { describe('questAccept', function() {