diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-06-08 23:13:59 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-06-08 23:13:59 -0300 |
commit | 9af4e803ec713352532bbe6539984528439a1257 (patch) | |
tree | 4eae1900da32e03b0940f02f2244fb0e165e7399 /activerecord/test | |
parent | 0b86ac244c7ae0c18f7510ef900be84e227f96e4 (diff) | |
download | rails-9af4e803ec713352532bbe6539984528439a1257.tar.gz rails-9af4e803ec713352532bbe6539984528439a1257.tar.bz2 rails-9af4e803ec713352532bbe6539984528439a1257.zip |
Remove unused 'y' variable.
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/adapters/mysql2/reserved_word_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/adapters/mysql2/reserved_word_test.rb b/activerecord/test/cases/adapters/mysql2/reserved_word_test.rb index 752b864818..3a9744e78f 100644 --- a/activerecord/test/cases/adapters/mysql2/reserved_word_test.rb +++ b/activerecord/test/cases/adapters/mysql2/reserved_word_test.rb @@ -87,8 +87,8 @@ 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) } + assert_nothing_raised { Group.find_by_order('y') } + assert_nothing_raised { Group.find(1) } x = Group.find(1) end |