Support hash as first argument in `assert_difference`.
#31600

julien-meichelbeck wants to merge julien-meichelbeck:master into rails:master

We do not currently have an analysis of these two commits