aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases/migration_test.rb')
-rw-r--r--activerecord/test/cases/migration_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb
index 3ce61cd7a1..32d7dbe3c4 100644
--- a/activerecord/test/cases/migration_test.rb
+++ b/activerecord/test/cases/migration_test.rb
@@ -446,7 +446,7 @@ if ActiveRecord::Base.connection.supports_migrations?
table.column :hat_name, :string, :limit => 100
table.column :hat_size, :integer
end
- Person.connection.add_index :people, :first_name
+ Person.connection.add_index :hats, :hat_name
assert_nothing_raised do
Person.connection.rename_column "hats", "hat_name", "name"
end