On 5/28/2010 11:05 PM, Michael Koziarski wrote:
Just spent a good bit of time trying to figure out why I couldn't get
fixtures to work in a plugin test. I was including
ActiveRecord::TestFixtures into ActiveSupport::TestCase and trying to get
fixtures to automatically reload for every test like
In a plugin we have to explicitly include ActiveRecord::TestFixtures to
enable fixtures in ActiveSupport::TestCase. So my thinking is it should
loudly fail instead of silently fail if it doesn't think ActiveRecord is
setup. Now if I understand you correctly, you are saying that that would
Just spent a good bit of time trying to figure out why I couldn't get
fixtures to work in a plugin test. I was including
ActiveRecord::TestFixtures into ActiveSupport::TestCase and trying to
get fixtures to automatically reload for every test like regular Rails
tests.
The problem was in the