2013-11-13 17:01:15 +00:00
|
|
|
|
2015-10-11 22:59:51 +00:00
|
|
|
'use strict';
|
|
|
|
|
2013-11-14 02:34:15 +00:00
|
|
|
var request = require('../context').request;
|
2013-11-13 17:01:15 +00:00
|
|
|
|
|
|
|
describe('req.header', function(){
|
|
|
|
it('should return the request header object', function(){
|
|
|
|
var req = request();
|
|
|
|
req.header.should.equal(req.req.headers);
|
|
|
|
})
|
2015-10-11 22:59:51 +00:00
|
|
|
})
|