From 1992c75cea75a66d48c6f24beb7d81518daa7dca Mon Sep 17 00:00:00 2001 From: Juanito Fatas Date: Tue, 17 Mar 2015 10:48:36 +0800 Subject: Remove unused variable in activerecord reflection_test. --- activerecord/test/cases/reflection_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/test/cases/reflection_test.rb b/activerecord/test/cases/reflection_test.rb index 9893fbd6b9..06bc70c172 100644 --- a/activerecord/test/cases/reflection_test.rb +++ b/activerecord/test/cases/reflection_test.rb @@ -282,7 +282,7 @@ class ReflectionTest < ActiveRecord::TestCase hotel = Hotel.create! department = hotel.departments.create! drink = department.chefs.create!(employable: DrinkDesigner.create!) - recipe = Recipe.create!(chef_id: drink.id, hotel_id: hotel.id) + Recipe.create!(chef_id: drink.id, hotel_id: hotel.id) hotel.drink_designers.to_a assert_sql(/^(?!.*employable_type).*$/) { hotel.recipes.to_a } -- cgit v1.2.3