mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix "warning: assigned but unused variable - task"
This commit is contained in:
parent
029cbb3535
commit
65d71d8d42
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue