Browse files

'minitest/parallel_each' might not always be available

  • Loading branch information...
1 parent 29000a7 commit eba172fb76ee46d9d801a5f3e56af7b777c9a13e @amatsuda amatsuda committed with amatsuda Jan 29, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 activesupport/lib/active_support/testing/isolation.rb
5 activesupport/lib/active_support/testing/isolation.rb
@@ -1,5 +1,8 @@
require 'rbconfig'
-require 'minitest/parallel_each'
+ require 'minitest/parallel_each'
+rescue LoadError
module ActiveSupport
module Testing

4 comments on commit eba172f


Isn't there a gem dependency on minitest? If so, it should always be available.

Ruby on Rails member

Rails is depending on 'minitest', '~> 4.1' and ParallelEach was introduced after 4.1 release seattlerb/minitest@bdbf38d

Or can I bump up the dependency so we can remove the Rails version of ParallelEach here?
/cc @tenderlove


Yeah. ~> 4.2 should be good.

Please sign in to comment.