Some more code cleanup

This commit is contained in:
Sahat Yalkabov
2013-12-20 01:47:52 -05:00
parent a9ac61e063
commit fa6cfa7ccd
2 changed files with 2 additions and 10 deletions

2
app.js
View File

@ -105,3 +105,5 @@ app.get('/auth/tumblr/callback', passport.authorize('tumblr', { failureRedirect:
app.listen(app.get('port'), function() {
console.log('Express server listening on port ' + app.get('port'));
});
module.exports = app;

View File

@ -1,10 +0,0 @@
var request = require('request');
describe("Demo", function() {
it("should return 200 OK", function(done) {
request("http://localhost:3000", function(error, response, body){
expect(response.statusCode).toEqual(200);
done();
});
});
});