Or maybe it's a reason to hate generators that create the fixtures.
I changed a migration, and all of my tests broke. I couldn't find the issue. What could possibly be calling an insert with the old column names?
A grep of the system turned up a long list of calls from the log, and because usually the relevant files are on top, I didn't scroll down, and missed the problem for an annoying little while.
If you use generators, and not fixtures, don't forget to:
git rm -rf test/fixtures/
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment