Mosquito Fixtures Won't Load
Alpha Chen
alpha.chen at gmail.com
Wed Jun 27 16:13:36 EDT 2007
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/camping-list/attachments/20070627/ecc602af/attachment.html
More information about the Camping-list
mailing list