From 6d480a8fa0a5a91ba74a03c31a312a5257a781c2 Mon Sep 17 00:00:00 2001 From: akihiro17 Date: Wed, 26 Aug 2015 20:51:21 +0900 Subject: Fix the unused variable warning This fixes the following warning. ```ruby warning: assigned but unused variable - index_definition ``` --- activerecord/test/cases/invertible_migration_test.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/activerecord/test/cases/invertible_migration_test.rb b/activerecord/test/cases/invertible_migration_test.rb index 3bc4fa379f..1664c9e25d 100644 --- a/activerecord/test/cases/invertible_migration_test.rb +++ b/activerecord/test/cases/invertible_migration_test.rb @@ -241,7 +241,6 @@ module ActiveRecord end def test_migrate_revert_change_column_default - index_definition = ["horses", [:name, :color]] migration1 = ChangeColumnDefault1.new migration1.migrate(:up) assert_equal "Sekitoba", Horse.new.name -- cgit v1.2.3