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:
@ -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/);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user