Test valid inputs for all paths

This commit is contained in:
Jake
2015-02-10 21:45:46 -06:00
parent 9bebaff48e
commit c925082f7f
2 changed files with 8 additions and 1 deletions

View File

@@ -246,6 +246,13 @@ describe("Server", function() {
done();
});
});
it("should return a 200 (valid input)", function(done) {
request.get("http://localhost:3000/" + location + "/Jake0oo0", function(error, res, body) {
assert.equal(200, res.statusCode);
done();
});
});
}
// testing all paths for default images