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 Fri, Jun 27, 2014 at 10:12:06AM -0700, Brian Grayless wrote:
> I wonder if we can get it to automatically setup/takedown between tests. May take a bit of research.

Yeah, I think factory_girl was doing that in the testunit but isn't doing it in the spec. Probably because test unit occurs over multiple blocks (describe, begin, it...) rather than a single method (test) so it probably just doesn't know *when* it is finished.

Maybe there's another option too, but destroying it at the end of the test seemed easy enough. I guess that might not work so well if the test fails tho, a thrown exception could prevent it from being destroyed, but when i tried it it seemed to work anyway.