aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/reflection_test.rb2
1 files changed, 1 insertions, 1 deletions
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 }