Skip to content
Browse files

fixing unused variable warnings

  • Loading branch information...
1 parent 7a3f05f commit fdfabc99e80d5c48bdaf1c046c592ac81dc4c2c6 @tenderlove tenderlove committed Jan 17, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 activerecord/test/cases/adapters/mysql/reserved_word_test.rb
View
6 activerecord/test/cases/adapters/mysql/reserved_word_test.rb
@@ -105,9 +105,9 @@ def test_activerecord_model
assert_nothing_raised { x.save }
x.order = 'y'
assert_nothing_raised { x.save }
- assert_nothing_raised { y = Group.find_by_order('y') }
- assert_nothing_raised { y = Group.find(1) }
- x = Group.find(1)
+ assert_nothing_raised { Group.find_by_order('y') }
+ assert_nothing_raised { Group.find(1) }
+ Group.find(1)
end
# has_one association with reserved-word table name

0 comments on commit fdfabc9

Please sign in to comment.
Something went wrong with that request. Please try again.