Permalink
Browse files

Merge pull request #7805 from steveklabnik/fix_assertion_order

fix order of assertions.
  • Loading branch information...
2 parents 3b97f6d + 06d173b commit 80f14d0fdad4ad0c13eff6f2659d6970fc598c0a @fxn fxn 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 80f14d0

Please sign in to comment.