mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
fixing unused variable warnings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user