1
0
Fork 0
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:
T.J. Schuck 2018-04-02 19:55:08 -04:00
parent 9facd9a903
commit 0ef8221910
4 changed files with 7 additions and 7 deletions

View file

@ -115,7 +115,7 @@ module ActionMailer
# 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
# assert_enqueued_email_with ContactMailer, :welcome,

View file

@ -204,7 +204,7 @@ module ActionDispatch
# end
#
# 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_url(threadable) # => "http://example.com/buckets/1"

View file

@ -105,7 +105,7 @@ module ActionView
# to "screen", so you must explicitly set it to "all" for the stylesheet(s) to
# apply to all media types.
#
# If the server supports Early Hints header links for these assets will be
# If the server supports Early Hints header links for these assets will be
# automatically pushed.
#
# stylesheet_link_tag "style"

View file

@ -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.
#