I'm trying to be better about testing these days so when I upgraded to Ruby on Rails 2.3 the other day I was a bit dismayed to be getting errors with my tests. They went something like this:
undefined method `use_transactional_fixtures='
Ug. I generated a new Rails 2.3 app to find out what was going on.
Turns out the problem is in the test_helper.rb file. You'll need to swap out the old class definition with this:
class ActiveSupport::TestCase
Once you do that your tests should run again (assuming they did before hand). Tweet this!
Click
Follow me on twitter
0 comments:
Post a Comment