diff options
author | akihiro17 <coolwizard11@gmail.com> | 2015-08-26 20:51:21 +0900 |
---|---|---|
committer | akihiro17 <coolwizard11@gmail.com> | 2015-08-26 22:25:57 +0900 |
commit | 6d480a8fa0a5a91ba74a03c31a312a5257a781c2 (patch) | |
tree | 9e34a579ebef79629971f3793615a0423ff8ca1f | |
parent | 479217ca34e3eb1f86fa8e8358bdde9de16effaf (diff) | |
download | rails-6d480a8fa0a5a91ba74a03c31a312a5257a781c2.tar.gz rails-6d480a8fa0a5a91ba74a03c31a312a5257a781c2.tar.bz2 rails-6d480a8fa0a5a91ba74a03c31a312a5257a781c2.zip |
Fix the unused variable warning
This fixes the following warning.
```ruby
warning: assigned but unused variable - index_definition
```
-rw-r--r-- | activerecord/test/cases/invertible_migration_test.rb | 1 |
1 files changed, 0 insertions, 1 deletions
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 |