From 65d71d8d428e13d3a735ea35e96726056c76b8ab Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Fri, 26 Aug 2016 06:21:40 +0900 Subject: Fix "warning: assigned but unused variable - task" --- activerecord/test/cases/query_cache_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/test') 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 -- cgit v1.2.3