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:
parent
940a391c9b
commit
26e4d688ac
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue