8thlight/cob_spec — pull request #16 by meaganewaller (2014-03-12 20:21:13+00:00)
Title: Modifies DELETE Form Test to Ensure Data is Actually Deleted

I was able to cheat this test because in my RequestRouter I never explicitly defined request uri of /form and request method of delete, and so it defaulted to going to my RootResponse where in the body data = heathcliff wasn't there, so the test passed.

I modified the test so that after requesting delete /form it ensures that the response code is 200, and requests the /form page again to ensure that it is deleted.