Browse files

Remove unused 'y' variable.

  • Loading branch information...
1 parent 0b86ac2 commit 9af4e803ec713352532bbe6539984528439a1257 @smartinez87 smartinez87 committed Jun 8, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/test/cases/adapters/mysql2/reserved_word_test.rb
View
4 activerecord/test/cases/adapters/mysql2/reserved_word_test.rb
@@ -87,8 +87,8 @@ 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) }
+ assert_nothing_raised { Group.find_by_order('y') }
+ assert_nothing_raised { Group.find(1) }
x = Group.find(1)
end

0 comments on commit 9af4e80

Please sign in to comment.