Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix order of assertions.

  • Loading branch information...
commit 06d173b382a8d11490d88723d87d5c3a67222f16 1 parent 3b97f6d
@steveklabnik steveklabnik authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/test/caching_test.rb
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.