set the NODE_ENV to development for the development view cache test #1355

Merged
merged 1 commit into from Oct 6, 2012
View
2 test/app.js
@@ -57,8 +57,10 @@ describe('app.path()', function(){
describe('in development', function(){
it('should disable "view cache"', function(){
+ process.env.NODE_ENV = 'development';
var app = express();
app.enabled('view cache').should.be.false;
+ process.env.NODE_ENV = 'test';
})
})