diff options
author | Juanito Fatas <katehuang0320@gmail.com> | 2015-03-17 10:48:36 +0800 |
---|---|---|
committer | Juanito Fatas <katehuang0320@gmail.com> | 2015-03-17 10:48:36 +0800 |
commit | 1992c75cea75a66d48c6f24beb7d81518daa7dca (patch) | |
tree | 344aafaa2e980b89fcfbc2ae51c19f7396a5c207 /activerecord/test | |
parent | 3aa96b3b58968e123c7c44463c835d9e39062f43 (diff) | |
download | rails-1992c75cea75a66d48c6f24beb7d81518daa7dca.tar.gz rails-1992c75cea75a66d48c6f24beb7d81518daa7dca.tar.bz2 rails-1992c75cea75a66d48c6f24beb7d81518daa7dca.zip |
Remove unused variable in activerecord reflection_test.
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/reflection_test.rb | 2 |
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 } |