Forum: Ruby on Rails fixtures outside of rails

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.
Raymond O. (Guest)
on 2007-06-03 15:11
Is anyone using fixtures in unit tests for applications using
ActiveRecord outside of rails?  I found an example to do this from some
old threads.  They cite as an example:

However, I copied this exactly and can still not get fixtures to work by
putting 'fixtures :my_model' at the top of my test class.  They do work
however if I create them explicitely in each test method through the
create_fixtures method.

Any help would be appreciated.
This topic is locked and can not be replied to.