diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-08-16 22:38:35 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-08-20 13:05:29 +0300 |
commit | 2ec60fb8186ad3b227341b7d1874e3f13bd34279 (patch) | |
tree | da9bd1649c3f3db35c243624f897cf83efa258d8 /activejob/Rakefile | |
parent | 11634e8ef85870535bad61b999e0f9ec36f6f963 (diff) | |
download | rails-2ec60fb8186ad3b227341b7d1874e3f13bd34279.tar.gz rails-2ec60fb8186ad3b227341b7d1874e3f13bd34279.tar.bz2 rails-2ec60fb8186ad3b227341b7d1874e3f13bd34279.zip |
Allow `assert_performed_with` to be called without a block.
Example:
```
def test_assert_performed_with
MyJob.perform_later(1,2,3)
perform_enqueued_jobs
assert_performed_with(job: MyJob, args: [1,2,3], queue: 'high')
end
```
Follow up #33626.
Diffstat (limited to 'activejob/Rakefile')
0 files changed, 0 insertions, 0 deletions