RE: Fixtures question


#1

I don’t have my code with me right now so I can’t share it now. But,
basically what I did was create a test class in my db directory. That
class inherits from UnitTest and uses all the fixtures I need. The class
has one empty method

This class “require” a special test_helper that set the environment
property to development rather than test.

Something like:

require “special_helper”
class < < Test::Unit::TestCase

fixture :what_evers

def test_load_fixtures

end
end

Then I run that test.