diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-06-30 18:20:04 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-06-30 18:30:55 +0300 |
commit | 22c7d5650cb22ac75b5ee06830a58fcc22bb7acc (patch) | |
tree | 5ddfc6a769f5a871bbb2d4a79c1c770871bcc2d3 /actioncable/test | |
parent | b3653aee947a5f8c3a298913e539493d17c1932b (diff) | |
download | rails-22c7d5650cb22ac75b5ee06830a58fcc22bb7acc.tar.gz rails-22c7d5650cb22ac75b5ee06830a58fcc22bb7acc.tar.bz2 rails-22c7d5650cb22ac75b5ee06830a58fcc22bb7acc.zip |
Allow `queue` option to `assert_no_enqueued_jobs`
It can be asserted that no jobs are enqueued to a specific queue:
```ruby
def test_no_logging
assert_no_enqueued_jobs queue: 'default' do
LoggingJob.set(queue: :some_queue).perform_later
end
end
```
Diffstat (limited to 'actioncable/test')
0 files changed, 0 insertions, 0 deletions