1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

update description of queue adapter in test [ci skip]

`ActiveJob::TestCase` set `TestAdapter` to queue adapter at `before_setup`.
https://github.com/rails/rails/blob/master/activejob/lib/active_job/test_helper.rb#L12..L21
This commit is contained in:
yuuji.yaginuma 2016-09-28 18:48:57 +09:00
parent c994a893c1
commit 9a918800c0

View file

@ -1317,8 +1317,8 @@ end
This test is pretty simple and only asserts that the job get the work done
as expected.
By default, `ActiveJob::TestCase` will set the queue adapter to `:async` so that
your jobs are performed in an async fashion. It will also ensure that all previously performed
By default, `ActiveJob::TestCase` will set the queue adapter to `:test` so that
your jobs are performed inline. It will also ensure that all previously performed
and enqueued jobs are cleared before any test run so you can safely assume that
no jobs have already been executed in the scope of each test.