aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib/active_job/queue_adapters/sneakers_adapter.rb
diff options
context:
space:
mode:
authorbogdanvlviv <bogdanvlviv@gmail.com>2018-08-16 19:49:14 +0300
committerbogdanvlviv <bogdanvlviv@gmail.com>2018-08-20 13:05:29 +0300
commitde4420da44ecce68a6b7607b828c69959a5f738e (patch)
tree0a6215e205b9e00486376c7aebc068cd2670cfe1 /activejob/lib/active_job/queue_adapters/sneakers_adapter.rb
parentd50fb21e4d7a526de3b0edb9bb5032d4be6175ae (diff)
downloadrails-de4420da44ecce68a6b7607b828c69959a5f738e.tar.gz
rails-de4420da44ecce68a6b7607b828c69959a5f738e.tar.bz2
rails-de4420da44ecce68a6b7607b828c69959a5f738e.zip
Allow `:queue` option to `assert_no_performed_jobs`.
If the `:queue` option is specified, then only the job(s) enqueued to a specific queue will not be performed. Example: ``` def test_assert_no_performed_jobs_with_queue_option assert_no_performed_jobs queue: :some_queue do HelloJob.set(queue: :other_queue).perform_later("jeremy") end end ```
Diffstat (limited to 'activejob/lib/active_job/queue_adapters/sneakers_adapter.rb')
0 files changed, 0 insertions, 0 deletions