aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller.rb
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-08-16 19:21:12 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2018-08-20 13:05:29 +0300
commitd50fb21e4d7a526de3b0edb9bb5032d4be6175ae (patch)
tree9375b4873775117a66166305d04abe5f2d42783a /actionpack/lib/action_controller.rb
parente0cf042fa2c499c2e0b8fe95ec02ed79f9178feb (diff)
downloadrails-d50fb21e4d7a526de3b0edb9bb5032d4be6175ae.tar.gz
rails-d50fb21e4d7a526de3b0edb9bb5032d4be6175ae.tar.bz2
rails-d50fb21e4d7a526de3b0edb9bb5032d4be6175ae.zip
Allow `:queue` option to `assert_performed_jobs`.
If the `:queue` option is specified, then only the job(s) enqueued to a specific queue will be performed. Example: ``` def test_assert_performed_jobs_with_queue_option assert_performed_jobs 1, queue: :some_queue do HelloJob.set(queue: :some_queue).perform_later("jeremy") HelloJob.set(queue: :other_queue).perform_later("bogdan") end end ```
Diffstat (limited to 'actionpack/lib/action_controller.rb')
0 files changed, 0 insertions, 0 deletions