• S
    Fix the test that was broken by #16445 rather than deleting it · 8cd1d5a4
    Sean Griffin 提交于
    Since the counter cache was properly being updated, the model became
    stale. Simply reloading the model before attempting to destroy is
    sufficient for this case. I believe this is enough of an edge case to be
    a valid change to the tests, even though it represents a potential
    breaking change.
    8cd1d5a4
locking_test.rb 13.2 KB