Add a config test.

This commit is contained in:
Paul Lietar
2013-12-11 21:41:16 +00:00
parent baefdabdfc
commit 48b4e330a3
5 changed files with 35 additions and 0 deletions

12
tests/apps/config/web.js Normal file
View File

@@ -0,0 +1,12 @@
var express = require('express');
var app = express.createServer(express.logger());
app.get('/', function(request, response) {
response.send(process.env.CONFTEST);
});
var port = process.env.PORT || 5000;
app.listen(port, function() {
console.log("Listening on " + port);
});