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. :)
<br><br>Josh<br><br><div><span class="gmail_quote">On 6/27/07, <b class="gmail_sendername">Alpha Chen</b> <<a href="mailto:alpha.chen@gmail.com">alpha.chen@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span class="q">On 6/27/07, <b class="gmail_sendername">Joshua Schairbaum</b> <<a href="mailto:joshua.schairbaum@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">joshua.schairbaum@gmail.com
</a>> wrote:</span><div><span class="q"><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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.</blockquote></span><div><br>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.
<br><br>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.
<br><br>Regards,<br>Alpha<br></div></div>
<br>_______________________________________________<br>Camping-list mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Camping-list@rubyforge.org">Camping-list@rubyforge.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://rubyforge.org/mailman/listinfo/camping-list" target="_blank">
http://rubyforge.org/mailman/listinfo/camping-list</a><br></blockquote></div><br>