diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-06-19 23:13:47 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-06-19 23:13:47 -0300 |
commit | 453188568dc31b29aa2592517ebecb90ecfab681 (patch) | |
tree | 8fadb697c2185e272f27149ccb1017dd2698a695 | |
parent | f945d157f79af44e2096fcbc9aaa22e410919dca (diff) | |
download | rails-453188568dc31b29aa2592517ebecb90ecfab681.tar.gz rails-453188568dc31b29aa2592517ebecb90ecfab681.tar.bz2 rails-453188568dc31b29aa2592517ebecb90ecfab681.zip |
CORES needs to be a integer
-rw-r--r-- | activesupport/lib/active_support/testing/isolation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/isolation.rb b/activesupport/lib/active_support/testing/isolation.rb index 43cb16aefa..8f22df6f2b 100644 --- a/activesupport/lib/active_support/testing/isolation.rb +++ b/activesupport/lib/active_support/testing/isolation.rb @@ -39,7 +39,7 @@ module ActiveSupport include Enumerable # default to 2 cores - CORES = ENV['TEST_CORES'] || 2 + CORES = ENV['TEST_CORES'].to_i || 2 def initialize list @list = list |