This post originated from an RSS feed registered with Ruby Buzz
by Daniel Berger.
Original Post: Feature removal in Rails?
Feed Title: Testing 1,2,3...
Feed URL: http://djberg96.livejournal.com/data/rss
Feed Description: A blog on Ruby and other stuff.
This strikes me as odd. Actually removing functionality to speed up tests is, quite frankly, bad. Who cares how fast your tests run? If they're that slow, you probably have way to much data in your fixtures. It definitely smells of a decision made by someone overly influenced by MySQL, i.e. someone who's not too keen on, you know, real foreign key enforcement.
Anyhoo, I came across this because I'm hitting FK violations in my delete tests, despite loading the fixtures in advance. But it only happens in some controllers. I don't get it. Weird stuff. Whatever. I'll just do some simple deletes through the web interface and verify that they're gone using psql.