spec.plugins.common-logger.js
This file
Path
spec/spec.plugins.common-logger.js
23 lines · 505 bytes · JavaScript
Last changed by
Logger -> CommonLoggervisionmediabefore adoptionf59dece
History of this fileTake it
1234567891011121314151617181920212223
describe 'Express' before_each reset() use(require('express/plugins/common-logger').CommonLogger) end describe 'CommonLogger' describe 'on' describe 'response' it 'should output in common log format' GLOBAL.stub('puts') GLOBAL.should.receive('puts') get('/style.css', function(){ contentType('css') return 'body { background: #000; }' }) get('/style.css') end end end endend