mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Small doc fixes
[ci skip]
This commit is contained in:
parent
9facd9a903
commit
0ef8221910
4 changed files with 7 additions and 7 deletions
|
@ -115,7 +115,7 @@ module ActionMailer
|
||||||
# end
|
# end
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
# If `args` is provided as a Hash, a parameterized email is matched.
|
# If +args+ is provided as a Hash, a parameterized email is matched.
|
||||||
#
|
#
|
||||||
# def test_parameterized_email
|
# def test_parameterized_email
|
||||||
# assert_enqueued_email_with ContactMailer, :welcome,
|
# assert_enqueued_email_with ContactMailer, :welcome,
|
||||||
|
|
|
@ -204,7 +204,7 @@ module ActionDispatch
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
# This maintains the context of the original caller on
|
# This maintains the context of the original caller on
|
||||||
# whether to return a path or full url, e.g:
|
# whether to return a path or full URL, e.g:
|
||||||
#
|
#
|
||||||
# threadable_path(threadable) # => "/buckets/1"
|
# threadable_path(threadable) # => "/buckets/1"
|
||||||
# threadable_url(threadable) # => "http://example.com/buckets/1"
|
# threadable_url(threadable) # => "http://example.com/buckets/1"
|
||||||
|
|
|
@ -43,23 +43,23 @@ module ActiveSupport
|
||||||
|
|
||||||
# Parallelizes the test suite.
|
# 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
|
# is forked. For each process a new database will be created suffixed
|
||||||
# with the worker number.
|
# with the worker number.
|
||||||
#
|
#
|
||||||
# test-database-0
|
# test-database-0
|
||||||
# test-database-1
|
# 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
|
# and the environment variable will be used instead. This is useful for CI
|
||||||
# environments, or other environments where you may need more workers than
|
# environments, or other environments where you may need more workers than
|
||||||
# you do for local testing.
|
# 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.
|
# parallelized.
|
||||||
#
|
#
|
||||||
# The default parallelization method is to fork processes. If you'd like to
|
# 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
|
# method. Note the threaded parallelization does not create multiple
|
||||||
# database and will not work with system tests at this time.
|
# database and will not work with system tests at this time.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue