diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-06-19 23:21:00 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-06-19 23:21:00 -0300 |
commit | 39dec69712aaf954c0f00f2a32c32356d789e3ed (patch) | |
tree | 33e0227329b20815e1b4810ea9738a911699b1ac /activesupport/lib/active_support | |
parent | 453188568dc31b29aa2592517ebecb90ecfab681 (diff) | |
download | rails-39dec69712aaf954c0f00f2a32c32356d789e3ed.tar.gz rails-39dec69712aaf954c0f00f2a32c32356d789e3ed.tar.bz2 rails-39dec69712aaf954c0f00f2a32c32356d789e3ed.zip |
Run the logger tests in isolation
Diffstat (limited to 'activesupport/lib/active_support')
-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 8f22df6f2b..50ec50ca52 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'].to_i || 2 + CORES = (ENV['TEST_CORES'] || 2).to_i def initialize list @list = list |