Rails error: undefined method `use_transactional_fixtures=`

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


class ActiveSupport::TestCase

Leave a Reply

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

Previous post How can I get my Mac OS X version from the command line?
Next post Cucumber – Behavior-Driven Development