Mosquito Fixtures Won't Load

Joshua Schairbaum joshua.schairbaum at gmail.com
Wed Jun 27 21:06:29 EDT 2007


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 <alpha.chen at gmail.com> wrote:
>
> On 6/27/07, Joshua Schairbaum <joshua.schairbaum at gmail.com> 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 at rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/camping-list/attachments/20070627/5c62c4e1/attachment-0001.html 


More information about the Camping-list mailing list