1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

fix order of assertions.

This commit is contained in:
Steve Klabnik 2012-09-30 11:08:11 -07:00
parent 3b97f6d485
commit 06d173b382

View file

@ -635,9 +635,9 @@ class MemoryStoreTest < ActiveSupport::TestCase
@cache.prune(@record_size * 3)
assert @cache.exist?(5)
assert @cache.exist?(4)
assert "no entry", !@cache.exist?(3)
assert !@cache.exist?(3), "no entry"
assert @cache.exist?(2)
assert "no entry", !@cache.exist?(1)
assert !@cache.exist?(1), "no entry"
end
def test_prune_size_on_write