mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove unused variable in activerecord reflection_test.
This commit is contained in:
parent
3aa96b3b58
commit
1992c75cea
1 changed files with 1 additions and 1 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue