diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2016-08-25 21:09:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-25 21:09:53 -0500 |
commit | 56fe966e6ab1eaefd15588eadc343a8ec44390a7 (patch) | |
tree | ac798893f220fb0ce45b355490c27424fec1a09d /activerecord/test | |
parent | 029cbb35352ed79805da1b3a089e724b05bd2a80 (diff) | |
parent | 65d71d8d428e13d3a735ea35e96726056c76b8ab (diff) | |
download | rails-56fe966e6ab1eaefd15588eadc343a8ec44390a7.tar.gz rails-56fe966e6ab1eaefd15588eadc343a8ec44390a7.tar.bz2 rails-56fe966e6ab1eaefd15588eadc343a8ec44390a7.zip |
Merge pull request #26284 from kamipo/fix_warnig
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 |