aboutsummaryrefslogtreecommitdiffstats
path: root/.codeclimate.yml
diff options
context:
space:
mode:
authorEdouard CHIN <edouard.chin@shopify.com>2018-09-26 18:45:52 -0400
committerEdouard CHIN <edouard.chin@shopify.com>2018-09-26 18:45:52 -0400
commit4d75f58991ca6b393ded2398de87fe6a13d4ac72 (patch)
tree02dbe65a785ba2c7a16ce881188525dddb0f298f /.codeclimate.yml
parent6556898884d636c59baae008e42783b8d3e16440 (diff)
downloadrails-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 '.codeclimate.yml')
0 files changed, 0 insertions, 0 deletions