Permalink
Browse files

Merge pull request #26284 from kamipo/fix_warnig

Fix "warning: assigned but unused variable - task"
  • Loading branch information...
guilleiguaran committed Aug 26, 2016
2 parents 029cbb3 + 65d71d8 commit 56fe966e6ab1eaefd15588eadc343a8ec44390a7
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/query_cache_test.rb
@@ -215,7 +215,7 @@ def test_query_cache_doesnt_leak_cached_results_of_rolled_back_queries
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

0 comments on commit 56fe966

Please sign in to comment.