From 5baa66cbaded58ba59d23b7df5166746222e92b0 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 12 Jan 2012 14:47:36 -0800 Subject: [PATCH] fixing test class name --- activerecord/test/cases/migration/rename_column_test.rb | 2 +- activerecord/test/cases/migration/rename_table_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/activerecord/test/cases/migration/rename_column_test.rb b/activerecord/test/cases/migration/rename_column_test.rb index a855841b6c..a9157797e4 100644 --- a/activerecord/test/cases/migration/rename_column_test.rb +++ b/activerecord/test/cases/migration/rename_column_test.rb @@ -93,7 +93,7 @@ module ActiveRecord add_index :test_models, :hat_name # FIXME: we should test that the index goes away - remove_column("test_models", "hat_size") + remove_column("test_models", "hat_name") end def test_remove_column_with_multi_column_index diff --git a/activerecord/test/cases/migration/rename_table_test.rb b/activerecord/test/cases/migration/rename_table_test.rb index 478aca011c..d5ff2c607f 100644 --- a/activerecord/test/cases/migration/rename_table_test.rb +++ b/activerecord/test/cases/migration/rename_table_test.rb @@ -2,7 +2,7 @@ require "cases/migration/helper" module ActiveRecord class Migration - class RenameColumnTest < ActiveRecord::TestCase + class RenameTableTest < ActiveRecord::TestCase include ActiveRecord::Migration::TestHelper self.use_transactional_fixtures = false