diff options
author | Edouard CHIN <edouard.chin@shopify.com> | 2018-09-26 18:45:52 -0400 |
---|---|---|
committer | Edouard CHIN <edouard.chin@shopify.com> | 2018-09-26 18:45:52 -0400 |
commit | 4d75f58991ca6b393ded2398de87fe6a13d4ac72 (patch) | |
tree | 02dbe65a785ba2c7a16ce881188525dddb0f298f /activesupport/CHANGELOG.md | |
parent | 6556898884d636c59baae008e42783b8d3e16440 (diff) | |
download | rails-4d75f58991ca6b393ded2398de87fe6a13d4ac72.tar.gz rails-4d75f58991ca6b393ded2398de87fe6a13d4ac72.tar.bz2 rails-4d75f58991ca6b393ded2398de87fe6a13d4ac72.zip |
Add a way to check for subset of arguments when performing jobs:
- When calling `assert_performed_with`/`assert_enqueued_with`, the
+args+ needs to match exactly what the job get passed.
Some jobs can have lot of arguments, or even a simple hash argument
has many key. This is not convenient to test as most tests doesn't
need to check if the arguments matches perfectly.
This PR make it possible to only check if a subset of arguments were
passed to the job.
Diffstat (limited to 'activesupport/CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions