Permalink
Browse files

fix order of assertions.

  • Loading branch information...
1 parent 3b97f6d commit 06d173b382a8d11490d88723d87d5c3a67222f16 @steveklabnik steveklabnik committed Sep 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/test/caching_test.rb
@@ -635,9 +635,9 @@ def test_prune_size
@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

0 comments on commit 06d173b

Please sign in to comment.