Permalink
Browse files

misc

  • Loading branch information...
1 parent 01e854b commit f17434c95b493e8a229c3487256afe086bbe498a @tj tj committed Nov 11, 2011
Showing with 4 additions and 14 deletions.
  1. +4 −14 test/app.options.js
View
@@ -6,13 +6,8 @@ describe('OPTIONS', function(){
it('should default to the routes defined', function(done){
var app = express();
- app.get('/users', function(req, res){
-
- });
-
- app.put('/users', function(req, res){
-
- });
+ app.get('/users', function(req, res){});
+ app.put('/users', function(req, res){});
request(app)
.options('/users')
@@ -34,13 +29,8 @@ describe('app.options()', function(){
res.send('GET');
});
- app.get('/users', function(req, res){
-
- });
-
- app.put('/users', function(req, res){
-
- });
+ app.get('/users', function(req, res){});
+ app.put('/users', function(req, res){});
request(app)
.options('/users')

0 comments on commit f17434c

Please sign in to comment.