1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activejob/test
bogdanvlviv 22c7d5650c
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
```
2018-06-30 18:30:55 +03:00
..
adapters Remove support for Qu gem. 2018-03-19 21:27:16 +01:00
cases Allow queue option to assert_no_enqueued_jobs 2018-06-30 18:30:55 +03:00
integration Remove support for Qu gem. 2018-03-19 21:27:16 +01:00
jobs Allow passing multiple exceptions to retry_on/discard_on 2018-06-25 18:16:58 -04:00
models [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
support Fix Ruby warnings tickled by the test suite 2018-06-30 10:20:45 +02:00
helper.rb [Active Job] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00