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.
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.