aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorDharam Gollapudi <dharam.gollapudi@gmail.com>2018-02-17 16:01:20 -0800
committerJeremy Daer <jeremydaer@gmail.com>2018-02-17 16:03:25 -0800
commita4e226fb2d4ae533b6ac668c38b6923b5eb5db0a (patch)
tree8143a94b1ff13837fc4bc71f56328c57c1295fbb /activesupport
parentd4eb0dc89ee6b476e2e10869dc282a96f956c6c7 (diff)
downloadrails-a4e226fb2d4ae533b6ac668c38b6923b5eb5db0a.tar.gz
rails-a4e226fb2d4ae533b6ac668c38b6923b5eb5db0a.tar.bz2
rails-a4e226fb2d4ae533b6ac668c38b6923b5eb5db0a.zip
Fixes typos
Fixes typos
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/test_case.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb
index 3588a5ac02..a698b4e61e 100644
--- a/activesupport/lib/active_support/test_case.rb
+++ b/activesupport/lib/active_support/test_case.rb
@@ -65,8 +65,8 @@ module ActiveSupport
#
# parallelize(workers: 2, with: :threads)
#
- # The threaded parallelization uses Minitest's parallel exector directly.
- # The processes paralleliztion uses a Ruby Drb server.
+ # The threaded parallelization uses Minitest's parallel executor directly.
+ # The processes parallelization uses a Ruby Drb server.
def parallelize(workers: 2, with: :processes)
workers = ENV["PARALLEL_WORKERS"].to_i if ENV["PARALLEL_WORKERS"]
@@ -78,7 +78,7 @@ module ActiveSupport
when :threads
Minitest::Parallel::Executor.new(workers)
else
- raise ArgumentError, "#{with} is not a supported parallelization exectutor."
+ raise ArgumentError, "#{with} is not a supported parallelization executor."
end
self.lock_threads = false if defined?(self.lock_threads) && with == :threads