Permalink
Browse files

Revert "Update test/express-expose.test.js"

This reverts commit b3c04a3.
  • Loading branch information...
1 parent 3c27258 commit a33cbf8f38cfe58caa69b44f1467a50f77c7c315 @tj tj committed Aug 7, 2012
Showing with 1 addition and 14 deletions.
  1. +1 −14 test/express-expose.test.js
@@ -1,3 +1,4 @@
+
/**
* Module dependencies.
*/
@@ -131,19 +132,5 @@ module.exports = {
vm.runInNewContext(js, scope);
scope.sub(8,7).should.equal(1);
scope.should.not.have.property('add');
- },
-
- 'test render view' : function (done) {
- var app = express();
-
- app.expose('var foo;');
- app.set('view engine', 'jade');
- app.set('views', __dirname + '/views');
-
- app.render('index', function(err, str){
- if (err) return done(err);
- str.should.match(/var foo;/);
- done();
- });
}
};

0 comments on commit a33cbf8

Please sign in to comment.