more tests, simplified the standard tests for the loggers

This commit is contained in:
Spencer Alger
2013-12-04 12:49:39 -07:00
parent 4e5f08a29c
commit c070c9e741
30 changed files with 535 additions and 505 deletions

View File

@ -154,7 +154,14 @@ describe('Host class', function () {
});
describe('#toString', function () {
// just calls makeUrl without any params
it('produces the same output as makeUrl when it is called without params', function () {
var host = new Host({
path: '/pasta',
host: 'google.com'
});
host.toString().should.eql(host.makeUrl());
});
});
});