diff options
author | Xavier Noria <fxn@hashref.com> | 2012-09-30 11:12:00 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2012-09-30 11:12:00 -0700 |
commit | 80f14d0fdad4ad0c13eff6f2659d6970fc598c0a (patch) | |
tree | 409f56158c895f48807c733f1a3eb2e66223870e | |
parent | 3b97f6d4850b79a22d0e573cedfc1abc42724659 (diff) | |
parent | 06d173b382a8d11490d88723d87d5c3a67222f16 (diff) | |
download | rails-80f14d0fdad4ad0c13eff6f2659d6970fc598c0a.tar.gz rails-80f14d0fdad4ad0c13eff6f2659d6970fc598c0a.tar.bz2 rails-80f14d0fdad4ad0c13eff6f2659d6970fc598c0a.zip |
Merge pull request #7805 from steveklabnik/fix_assertion_order
fix order of assertions.
-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 |