diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-12 14:47:36 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-13 14:33:57 -0800 |
commit | 5baa66cbaded58ba59d23b7df5166746222e92b0 (patch) | |
tree | 6b333abcb4f4e9c7091dffc0b74e07a1c62c515b /activerecord/test/cases | |
parent | 145ad7b6aa06baa371ba08d0c87e1905e22123cc (diff) | |
download | rails-5baa66cbaded58ba59d23b7df5166746222e92b0.tar.gz rails-5baa66cbaded58ba59d23b7df5166746222e92b0.tar.bz2 rails-5baa66cbaded58ba59d23b7df5166746222e92b0.zip |
fixing test class name
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/migration/rename_column_test.rb | 2 | ||||
-rw-r--r-- | 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 |