Forum: Ruby on Rails RE: Fixtures question

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
mfuller (Guest)
on 2005-11-12 12:49
(Received via mailing list)
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


Then I run that test.
This topic is locked and can not be replied to.