Forum: Ruby on Rails fixtures outside of rails

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Raymond O. (Guest)
on 2007-06-03 15:11
Hi,
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:
http://opensvn.csie.org/ezra/rails/ez_where_two/te...

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.
Thanks,
Ray.
This topic is locked and can not be replied to.