aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJade Tucker <jadeatucker@gmail.com>2013-07-07 18:59:32 -0700
committerJade Tucker <jadeatucker@gmail.com>2013-07-07 18:59:32 -0700
commit8471fc0363bf2d8d1bf62daf9ce19e71ed4387a1 (patch)
treed28762ade689384731604acbf0f718e089d956aa
parentcad2c8f5791d5bd4af0f240d96e00bae76eabd2f (diff)
downloadrails-8471fc0363bf2d8d1bf62daf9ce19e71ed4387a1.tar.gz
rails-8471fc0363bf2d8d1bf62daf9ce19e71ed4387a1.tar.bz2
rails-8471fc0363bf2d8d1bf62daf9ce19e71ed4387a1.zip
Explicitly test for true and false.
-rw-r--r--activesupport/test/caching_test.rb4
1 files 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