Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Merged
merged 1 commit into from

2 participants

@lihanli

The development view cache test was using 'test' as the NODE_ENV so I changed it to 'development'

@tj tj merged commit 3cd0159 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0  test/app.js
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';
})
})
Something went wrong with that request. Please try again.