Skip to content

Commit

Permalink
Remove stray settings
Browse files Browse the repository at this point in the history
  • Loading branch information
SLaks committed Apr 16, 2013
1 parent bdd61a2 commit 2798c5b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/req.host.js
Expand Up @@ -72,8 +72,6 @@ describe('req', function(){
it('should return the domain only', function(done){
var app = express();

app.enable('trust proxy');

app.use(function(req, res, next){
res.send(req.host);
});
Expand All @@ -86,8 +84,6 @@ describe('req', function(){
it('should return the domain only even when there is no port', function(done){
var app = express();

app.enable('trust proxy');

app.use(function(req, res, next){
res.send(req.host);
});
Expand All @@ -100,8 +96,6 @@ describe('req', function(){
it('should return undefined when there is no Host header', function(done){
var app = express();

app.enable('trust proxy');

app.use(function(req, res, next){
res.send(req.host);
});
Expand Down

0 comments on commit 2798c5b

Please sign in to comment.