diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-02-15 20:12:45 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-02-15 20:12:45 +0000 |
commit | 6f0b0125d0f9044074fcb6f9b1528937a2bb4d2e (patch) | |
tree | 8be9ecb08ed334f424c1bcdbca0ac11dc21567fa | |
parent | c75abf058eb300e066ce96960ad27f1433869524 (diff) | |
download | rails-6f0b0125d0f9044074fcb6f9b1528937a2bb4d2e.tar.gz rails-6f0b0125d0f9044074fcb6f9b1528937a2bb4d2e.tar.bz2 rails-6f0b0125d0f9044074fcb6f9b1528937a2bb4d2e.zip |
Fix typo in migration test. Closes #11105 [h-lame]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8873 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | activerecord/test/cases/migration_test.rb | 2 |
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 |