when running tests, I’m getting an error: undefined method `use_transactional_fixtures=` for Test::Unit::testCase:Class (NoMethodError)

This happens if you generated your tests before Rails 2.3

go to test/test_helper.rb and change:

class Test::Unit::testCase

to:

class ActiveSupport::TestCase

By Jason

Leave a Reply

Your email address will not be published. Required fields are marked *