tag:blogger.com,1999:blog-5611656633903981530.post5241210272390209036..comments2023-10-15T01:37:35.027-07:00Comments on Begin Rescue: Testing for database insert with ActiveRecordpete higginshttp://www.blogger.com/profile/06164347683461976036noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-5611656633903981530.post-19246269675945269832008-10-07T12:29:00.000-07:002008-10-07T12:29:00.000-07:00I don't think it's that common to want to check th...I don't think it's that common to want to check that something <I>didn't</I> happen. With BDD, you check that the code is making the right calls. With state-based testing, you check the data. Would you also check that no updates or deletions happened? Just my take on it - I could be wrong.Mark Wildenhttps://www.blogger.com/profile/07153901140004937121noreply@blogger.com