From 06d173b382a8d11490d88723d87d5c3a67222f16 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Sun, 30 Sep 2012 11:08:11 -0700 Subject: fix order of assertions. --- activesupport/test/caching_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activesupport') 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 -- cgit v1.2.3