test for csrf middleware

This commit is contained in:
jysperm
2014-10-25 07:13:08 +08:00
parent e9a2b0c324
commit baf3b45231
2 changed files with 52 additions and 3 deletions

View File

@@ -29,8 +29,6 @@ app.libs =
{cookieParser, copy, crypto, bodyParser, depd, express, fs, harp, middlewareInjector, mongoose} = exports.libs
{morgan, nodemailer, path, redis} = exports.libs
app.logger = do ->
unless process.env.NODE_ENV == 'test'
return console.log