Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #7805 from steveklabnik/fix_assertion_order

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