This commit is contained in:
Tj Holowaychuk
2011-12-06 16:21:04 -08:00
parent 1cda0a96ca
commit 3212a70a0c

View File

@@ -20,8 +20,8 @@ describe('res', function(){
})
})
describe('when relative from the host', function(){
it('should construct an absolute url', function(done){
describe('with leading /', function(){
it('should construct host-relative urls', function(done){
var app = express();
app.use(function(req, res){
@@ -38,8 +38,8 @@ describe('res', function(){
})
})
describe('when relative from the mount-point', function(){
it('should construct an absolute url', function(done){
describe('without leading /', function(){
it('should construct mount-point relative urls', function(done){
var app = express();
app.use(function(req, res){