From 8471fc0363bf2d8d1bf62daf9ce19e71ed4387a1 Mon Sep 17 00:00:00 2001 From: Jade Tucker Date: Sun, 7 Jul 2013 18:59:32 -0700 Subject: Explicitly test for true and false. --- activesupport/test/caching_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activesupport/test/caching_test.rb b/activesupport/test/caching_test.rb index ae6eaa4b60..d2382f0f5b 100644 --- a/activesupport/test/caching_test.rb +++ b/activesupport/test/caching_test.rb @@ -327,8 +327,8 @@ module CacheStoreBehavior def test_exist @cache.write('foo', 'bar') - assert @cache.exist?('foo') - assert !@cache.exist?('bar') + assert_equal true, @cache.exist?('foo') + assert_equal false, @cache.exist?('bar') end def test_nil_exist -- cgit v1.2.3