commit
039217ad4e
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ describe('req.ip', function(){
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('with no req.ips present', function(){
|
describe('with no req.ips present', function(){
|
||||||
it('should return req.socket.removeAddress', function(){
|
it('should return req.socket.remoteAddress', function(){
|
||||||
var req = request();
|
var req = request();
|
||||||
req.socket.remoteAddress = '127.0.0.2';
|
req.socket.remoteAddress = '127.0.0.2';
|
||||||
req.ip.should.equal('127.0.0.2');
|
req.ip.should.equal('127.0.0.2');
|
||||||
|
|
Loading…
Reference in a new issue