switched out assertion library with should.js... I really should have written my own baby util library since that was the third time I've done that...

This commit is contained in:
Spencer Alger
2013-12-23 15:33:53 -07:00
parent 3d0b2fde4e
commit 2b3734a081
32 changed files with 828 additions and 987 deletions

View File

@ -1,5 +1,5 @@
describe('Logger Abstract', function () {
var expect = require('expect.js');
var sinon = require('sinon');
var Log = require('../../src/lib/log');
var LoggerAbstract = require('../../src/lib/logger');
@ -23,10 +23,10 @@ describe('Logger Abstract', function () {
describe('#write', function () {
it('requires that it is overwritten', function () {
(function () {
expect(function () {
var logger = makeLogger();
logger.write();
}).should.throw(/overwritten/);
}).to.throwError(/overwritten/);
});
});