aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
authorAlex Tambellini <atambellini@gmail.com>2013-08-01 23:35:27 -0400
committerAlex Tambellini <atambellini@gmail.com>2013-08-02 00:06:26 -0400
commit560541ffdecf6240e2cd38d68b841e01bbd654d2 (patch)
treeb2ed07d7a4f073806779881060d102a60efb356d /activerecord/test/cases
parent5753a8cb2a63284aeb30d5b46e28301478cb779e (diff)
downloadrails-560541ffdecf6240e2cd38d68b841e01bbd654d2.tar.gz
rails-560541ffdecf6240e2cd38d68b841e01bbd654d2.tar.bz2
rails-560541ffdecf6240e2cd38d68b841e01bbd654d2.zip
Fix ActiveSupport::Testing::Isolation on jruby
Hopefully the first of many related to #11700. With these changes the railties tests wont 100% pass but at least they will run and show the errors. The first problem was the @method_name variable was never set. This was causing ENV["ISOLATION_TEST"] to always be nil which would cause the test output to never be written to the tempfile. The second problem was that an invalid -t option was being passed to minitest and minitest was erroring out. The third problem was the run method needs to always return an instance of the test class it is trying to isolate. We were returning a ProxyTestResult instead.
Diffstat (limited to 'activerecord/test/cases')
0 files changed, 0 insertions, 0 deletions