0

I have a Rails 3.0.10 project using the minitest-rails gem (running in JRuby 1.6.5 == Ruby 1.9.2). I would like to use all of our existing Test::Unit test cases with minimal changes in order to start using Minitest. Right now I can run tests but many fail because fixtures are not being loaded. I have yet to figure out how to make that work. If I change ActionController::TestCase to MiniTest::Unit::TestCase then the fixtures function doesn't work. I've tried the links here and the links within that one without any success. So the question is how to continue using ActionController::TestCase with the MiniTest gem or how to switch to MiniTest::Unit::TestCase and have fixtures load.

4

1 回答 1

0

请尝试升级到 0.1 版,该版本已全面改进。固定装置之类的东西现在实际上可以工作了。

于 2012-07-09T18:09:53.597 回答