1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Skip isolation test tests when using MiniTest

This commit is contained in:
Jeremy Kemper 2009-08-13 19:33:15 -05:00
parent 940a391c9b
commit 26e4d688ac

View file

@ -1,7 +1,9 @@
require 'abstract_unit'
# Does awesome
if ENV['CHILD']
if defined?(MiniTest)
$stderr.puts "Umm, MiniTest not supported yet, mmkay?"
elsif ENV['CHILD']
class ChildIsolationTest < ActiveSupport::TestCase
include ActiveSupport::Testing::Isolation
@ -153,4 +155,4 @@ else
end
end
end
end