diff options
author | Jade Tucker <jadeatucker@gmail.com> | 2013-07-07 18:59:32 -0700 |
---|---|---|
committer | Jade Tucker <jadeatucker@gmail.com> | 2013-07-07 18:59:32 -0700 |
commit | 8471fc0363bf2d8d1bf62daf9ce19e71ed4387a1 (patch) | |
tree | d28762ade689384731604acbf0f718e089d956aa /activesupport | |
parent | cad2c8f5791d5bd4af0f240d96e00bae76eabd2f (diff) | |
download | rails-8471fc0363bf2d8d1bf62daf9ce19e71ed4387a1.tar.gz rails-8471fc0363bf2d8d1bf62daf9ce19e71ed4387a1.tar.bz2 rails-8471fc0363bf2d8d1bf62daf9ce19e71ed4387a1.zip |
Explicitly test for true and false.
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 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 |