Fix typo
This commit is contained in:
parent
b3d46bd69e
commit
890244fc74
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