When tests are acting strange and you can’t figure out what’s wrong…

Check that you didn’t copy / paste / didn’t change the test class definition line.

example:

My BlogPost class was mis-titled…

1
2
class FundastacheSiteTest < Test::Unit::TestCase
...

There went an hour…

Posted: March 25th, 2010 | Author: jay | Filed under: Code | Tags: , , , | No Comments »