first unit test and integration test

A quick test that the homepage works and that the login succeeds in three cases (failure, unconfirmed, and success).
On Thu, Jun 26, 2014 at 07:30:35AM -0700, Brian Grayless wrote:
> Another area where I have concerns about brittleness. If the message changes, the test breaks. Maybe we check as CSS class instead or something like that. Just stuff what we want to be mindful of.

Yeah, I don't think devise set a unique class here though so this is the best I had; it just sets a flash message variable. It also returned HTTP 200 OK even when login failed so i couldn't check that code either. (to be fair, virtually every login system I've ever written returns OK on failure too)