I've determined that I'm not even reaching the "create_fixtures" method when
calling a test.  Very perplexing... I'm wondering if using an older version
of Active Record would solve it temporarily.  I'm assuming that there's been
a change to the way the that fixtures are loaded in Rails, and the change
hasn't filtered down yet. :)

Josh

On 6/27/07, Alpha Chen <[EMAIL PROTECTED]> wrote:

On 6/27/07, Joshua Schairbaum <[EMAIL PROTECTED]> wrote:
>
> I can't get fixtures to load correctly in a Mosquito test.  The first
> fixture loads in the unit test, but the rest don't load at all.


I actually ran into a similar problem, although none of my fixtures were
loaded at all. On running the example blog tests included with mosquito,
there were a number of failures which appeared related to to the non-loading
fixtures.

I found that changing "change_fixtures" to "self.fixtures" on line 25 of
mosquito.rb solved the problem for me, though I don't know enough about
Camping, Mosquito, and ActiveRecord to know if this is the best fix or not.

Regards,
Alpha

_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to