“undefined method `use_transactional_fixtures=’” after upgrading to Rails 2.3.2
After upgrading to Rails 2.3.2 I’ve tried to run the testcases. The following error occured:
test/test_helper.rb:22: undefined method `use_transactional_fixtures=’ for Test::Unit::TestCase:Class (NoMethodError)
Solution:
Test::Unit::TestCase changed to ActiveSupport::TestCase, so simply edit your test/test_helper and change the name of the class.
Keywords: functional test problems
Filed under: English, Ruby On Rails on April 29th, 2009

Thanks, was wondering what was going on. BTW, there’s a colon missing above– it’s ActiveSupport::TestCase
[...] What’s going on? After a little Googling, and it turns out that in Rails 2.3.2, “Test::Unit::TestCase changed to [...]
Thanks! This solved my issue right away.
Hi ,
I’ve been trying to upgrade a rails 2.1.2 app to 2.3.8. Your solution was really helpful.
Thanks.
Thank you! It works.