diff options
author | Steve Klabnik <steve@steveklabnik.com> | 2012-09-30 11:08:11 -0700 |
---|---|---|
committer | Steve Klabnik <steve@steveklabnik.com> | 2012-09-30 11:08:11 -0700 |
commit | 06d173b382a8d11490d88723d87d5c3a67222f16 (patch) | |
tree | 409f56158c895f48807c733f1a3eb2e66223870e /activesupport | |
parent | 3b97f6d4850b79a22d0e573cedfc1abc42724659 (diff) | |
download | rails-06d173b382a8d11490d88723d87d5c3a67222f16.tar.gz rails-06d173b382a8d11490d88723d87d5c3a67222f16.tar.bz2 rails-06d173b382a8d11490d88723d87d5c3a67222f16.zip |
fix order of assertions.
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/test/caching_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/caching_test.rb b/activesupport/test/caching_test.rb index 3832f11754..a2283db899 100644 --- a/activesupport/test/caching_test.rb +++ b/activesupport/test/caching_test.rb @@ -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 |