Skip to content

Commit 5a4a316

Browse files
Merge pull request rails#43635 from shunyama/fix-grammatical-mistakes
Fixed tiny grammatical mistakes in comments [skip ci]
2 parents 15d94fd + 4e2d55e commit 5a4a316

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

activejob/lib/active_job/test_helper.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def queue_adapter_for_test
109109
# end
110110
# end
111111
#
112-
# +:only+ and +:except+ options accepts Class, Array of Class or Proc. When passed a Proc,
112+
# +:only+ and +:except+ options accept Class, Array of Class or Proc. When passed a Proc,
113113
# a hash containing the job's class and it's argument are passed as argument.
114114
#
115115
# Asserts the number of times a job is enqueued to a specific queue by passing +:queue+ option.
@@ -168,7 +168,7 @@ def assert_enqueued_jobs(number, only: nil, except: nil, queue: nil, &block)
168168
# end
169169
# end
170170
#
171-
# +:only+ and +:except+ options accepts Class, Array of Class or Proc. When passed a Proc,
171+
# +:only+ and +:except+ options accept Class, Array of Class or Proc. When passed a Proc,
172172
# a hash containing the job's class and it's argument are passed as argument.
173173
#
174174
# Asserts that no jobs are enqueued to a specific queue by passing +:queue+ option
@@ -325,7 +325,7 @@ def assert_performed_jobs(number, only: nil, except: nil, queue: nil, &block)
325325
# end
326326
# end
327327
#
328-
# +:only+ and +:except+ options accepts Class, Array of Class or Proc. When passed a Proc,
328+
# +:only+ and +:except+ options accept Class, Array of Class or Proc. When passed a Proc,
329329
# an instance of the job will be passed as argument.
330330
#
331331
# If the +:queue+ option is specified,
@@ -579,7 +579,7 @@ def assert_performed_with(job: nil, args: nil, at: nil, queue: nil, priority: ni
579579
# assert_performed_jobs 1
580580
# end
581581
#
582-
# +:only+ and +:except+ options accepts Class, Array of Class or Proc. When passed a Proc,
582+
# +:only+ and +:except+ options accept Class, Array of Class or Proc. When passed a Proc,
583583
# an instance of the job will be passed as argument.
584584
#
585585
# If the +:queue+ option is specified,

0 commit comments

Comments
 (0)