Solution for undefined method `use_transactional_fixtures=' ... problem

If you see this error message:

undefined method `use_transactional_fixtures=' for
Test::Unit::TestCase:Class (NoMethodError)

You should check all your dependencies, all the lines containing
require and especially require_dependency.

You have probably done a refactoring "Rename" a class and forgot to
propagate the change everywhere!

More details on


The solution that worked for me is to remove "test" from the
require_paths line in:

(your path may vary)

s.require_paths = ["lib","test"]
s.require_paths = ["lib"]

I installed a gem recently that also updated hoe and ZenTest, which is
right when the problem started. I assume the next release of one of
these gems will correct the issue. I found this solution at

Hope it saves someone a headache.

Joe Noon
Notary Depot