diff options
author | T.J. Schuck <tj@tjschuck.com> | 2018-04-02 19:55:08 -0400 |
---|---|---|
committer | T.J. Schuck <tj@tjschuck.com> | 2018-04-02 19:55:08 -0400 |
commit | 0ef8221910da7552ffff72969de7a720b0e28ddf (patch) | |
tree | d4069a45e6db44f7f9d017c77e7948977cff77c8 /activesupport | |
parent | 9facd9a9039d9f9697c78ddb57c6685cb27e78ea (diff) | |
download | rails-0ef8221910da7552ffff72969de7a720b0e28ddf.tar.gz rails-0ef8221910da7552ffff72969de7a720b0e28ddf.tar.bz2 rails-0ef8221910da7552ffff72969de7a720b0e28ddf.zip |
Small doc fixes
[ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/test_case.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb index a698b4e61e..4e42db4500 100644 --- a/activesupport/lib/active_support/test_case.rb +++ b/activesupport/lib/active_support/test_case.rb @@ -43,23 +43,23 @@ module ActiveSupport # Parallelizes the test suite. # - # Takes a `workers` argument that controls how many times the process + # Takes a +workers+ argument that controls how many times the process # is forked. For each process a new database will be created suffixed # with the worker number. # # test-database-0 # test-database-1 # - # If `ENV["PARALLEL_WORKERS"]` is set the workers argument will be ignored + # If <tt>ENV["PARALLEL_WORKERS"]</tt> is set the workers argument will be ignored # and the environment variable will be used instead. This is useful for CI # environments, or other environments where you may need more workers than # you do for local testing. # - # If the number of workers is set to `1` or fewer, the tests will not be + # If the number of workers is set to +1+ or fewer, the tests will not be # parallelized. # # The default parallelization method is to fork processes. If you'd like to - # use threads instead you can pass `with: :threads` to the `parallelize` + # use threads instead you can pass <tt>with: :threads</tt> to the +parallelize+ # method. Note the threaded parallelization does not create multiple # database and will not work with system tests at this time. # |