diff options
author | eileencodes <eileencodes@gmail.com> | 2015-12-18 10:05:57 -0500 |
---|---|---|
committer | eileencodes <eileencodes@gmail.com> | 2015-12-18 10:17:28 -0500 |
commit | 65146b58d19ff92c4da1a68b45c2d8c44e2a1c0c (patch) | |
tree | 3629a4a76c07fa5084cb1bddb3ae21f0dfccbccc /activesupport/test | |
parent | 376cfeb83e0a1a97e03c57d0da5477a8cfad8bd2 (diff) | |
download | rails-65146b58d19ff92c4da1a68b45c2d8c44e2a1c0c.tar.gz rails-65146b58d19ff92c4da1a68b45c2d8c44e2a1c0c.tar.bz2 rails-65146b58d19ff92c4da1a68b45c2d8c44e2a1c0c.zip |
Delete duplicate test
The test was was in here twice so we were seeing this error:
```
activesupport/test/caching_test.rb:658:
warning: method redefined; discarding old test_local_cache_of_read_nil
activesupport/test/caching_test.rb:634:
warning: previous definition of test_local_cache_of_read_nil was here
```
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/caching_test.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/activesupport/test/caching_test.rb b/activesupport/test/caching_test.rb index a1bd2d5356..7bef73136c 100644 --- a/activesupport/test/caching_test.rb +++ b/activesupport/test/caching_test.rb @@ -655,14 +655,6 @@ module LocalCacheBehavior end end - def test_local_cache_of_read_nil - @cache.with_local_cache do - assert_equal nil, @cache.read('foo') - @cache.send(:bypass_local_cache) { @cache.write 'foo', 'bar' } - assert_equal nil, @cache.read('foo') - end - end - def test_local_cache_of_delete @cache.with_local_cache do @cache.write('foo', 'bar') |