mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fixing unused variable warnings
This commit is contained in:
parent
7a3f05f43d
commit
fdfabc99e8
1 changed files with 3 additions and 3 deletions
|
@ -105,9 +105,9 @@ class MysqlReservedWordTest < ActiveRecord::TestCase
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue