diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-08-26 06:21:40 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-08-26 06:21:40 +0900 |
commit | 65d71d8d428e13d3a735ea35e96726056c76b8ab (patch) | |
tree | ac798893f220fb0ce45b355490c27424fec1a09d /activerecord/test | |
parent | 029cbb35352ed79805da1b3a089e724b05bd2a80 (diff) | |
download | rails-65d71d8d428e13d3a735ea35e96726056c76b8ab.tar.gz rails-65d71d8d428e13d3a735ea35e96726056c76b8ab.tar.bz2 rails-65d71d8d428e13d3a735ea35e96726056c76b8ab.zip |
Fix "warning: assigned but unused variable - task"
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/query_cache_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/query_cache_test.rb b/activerecord/test/cases/query_cache_test.rb index 619a5f4f3f..7f7faca70d 100644 --- a/activerecord/test/cases/query_cache_test.rb +++ b/activerecord/test/cases/query_cache_test.rb @@ -215,7 +215,7 @@ class QueryCacheTest < ActiveRecord::TestCase def test_query_cached_even_when_types_are_reset Task.cache do # Warm the cache - task = Task.find(1) + Task.find(1) Task.connection.type_map.clear |