Skip to content
This repository

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

Merged
merged 1 commit into from almost 2 years ago

2 participants

lihan TJ Holowaychuk
lihan

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

TJ Holowaychuk visionmedia merged commit 3cd0159 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Oct 06, 2012
lihan lihanli set the NODE_ENV to development for the development view cache test 3b6d683
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  test/app.js
2  test/app.js
@@ -57,8 +57,10 @@ describe('app.path()', function(){
57 57
58 58 describe('in development', function(){
59 59 it('should disable "view cache"', function(){
  60 + process.env.NODE_ENV = 'development';
60 61 var app = express();
61 62 app.enabled('view cache').should.be.false;
  63 + process.env.NODE_ENV = 'test';
62 64 })
63 65 })
64 66

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.