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
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to