assert_difference and assert_no_difference context managers
assert_difference and assert_no_difference context managers

Can be used to assert function results, for example DB queries that should /
should not change when running a block of test code.

dpausp/arguments,dpausp/arguments,dpausp/arguments,dpausp/arguments