2006/3/13, Rick Olson <[EMAIL PROTECTED]>:
> What are you trying to do?  If this is a habtm, there is no join

Load the fixtures on setup.

> model, so you shouldn't be calling categories_screenshots(:foo).  If
> it is a join model that's named differently, then you need to set the
> proper fixture class:
>
> fixtures :categories_screenshots
> set_fixture_class :categories_screenshots => CategoryScreenshot
>
> If I recall, I wrote it so it *only* raises the exception if you try
> to call categories_screenshots(), which tries to load the model
> record.

The exception will be raised anytime Fixture#find is called.  In my
case, it happens during setup because it seems
use_instantiated_fixtures is true ?!  More on that in another E-Mail.

Anyway, I properly configured TestCase, and now everything works with HEAD.

Thanks !
--
François Beausoleil
http://blog.teksol.info/
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to