Permalink
Browse files

clean up weird whitespace in error-pages acceptance tests

  • Loading branch information...
tj committed Apr 26, 2012
1 parent 2cd1783 commit 2c14d0c966ad9f216038ac2c9c7981f8e02fd91b
Showing with 7 additions and 2 deletions.
  1. +7 −2 test/acceptance/error-pages.js
@@ -1,4 +1,4 @@
-var app = require('../../examples/error-pages/app')
+var app = require('../../examples/error-pages')
, request = require('../support/http');
describe('error-pages', function(){
@@ -18,13 +18,15 @@ describe('error-pages', function(){
.expect(403,done)
})
})
+
describe('GET /404', function(){
it('should respond with 404', function(done){
request(app)
.get('/404')
.expect(404,done)
})
})
+
describe('GET /500', function(){
it('should respond with 500', function(done){
request(app)
@@ -44,6 +46,7 @@ describe('error-pages', function(){
.expect(403,done)
})
})
+
describe('GET /404', function(){
it('should respond with 404', function(done){
request(app)
@@ -56,6 +59,7 @@ describe('error-pages', function(){
})
})
})
+
describe('GET /500', function(){
it('should respond with 500', function(done){
request(app)
@@ -76,6 +80,7 @@ describe('error-pages', function(){
.expect(403,done)
})
})
+
describe('GET /404', function(){
it('should respond with 404', function(done){
request(app)
@@ -88,6 +93,7 @@ describe('error-pages', function(){
})
})
})
+
describe('GET /500', function(){
it('should respond with 500', function(done){
request(app)
@@ -97,5 +103,4 @@ describe('error-pages', function(){
})
})
})
-
})

0 comments on commit 2c14d0c

Please sign in to comment.