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.
2ebf42f8625b86c0e91ae7bd4e2bef52?d=identicon&s=25 Raymond O'Connor (nappin)
on 2007-06-03 13: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.