From eba172fb76ee46d9d801a5f3e56af7b777c9a13e Mon Sep 17 00:00:00 2001 From: Akira Matsuda + Koichi Sasada Date: Tue, 29 Jan 2013 20:19:46 +0900 Subject: 'minitest/parallel_each' might not always be available --- activesupport/lib/active_support/testing/isolation.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/testing/isolation.rb b/activesupport/lib/active_support/testing/isolation.rb index cc96f158b5..dca91e8b75 100644 --- a/activesupport/lib/active_support/testing/isolation.rb +++ b/activesupport/lib/active_support/testing/isolation.rb @@ -1,5 +1,8 @@ require 'rbconfig' -require 'minitest/parallel_each' +begin + require 'minitest/parallel_each' +rescue LoadError +end module ActiveSupport module Testing -- cgit v1.2.3