diff options
author | Akira Matsuda <ronnie@dio.jp> | 2016-02-01 16:08:11 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2016-02-01 16:19:12 +0900 |
commit | 407baa2b4cc462e42c9aaccc9850adad4462ea7e (patch) | |
tree | 7de88f1a83990b505dde4fad6e30e7a89261c25c | |
parent | 4e423452f120a540dd42285aa87157127182dbbc (diff) | |
download | rails-407baa2b4cc462e42c9aaccc9850adad4462ea7e.tar.gz rails-407baa2b4cc462e42c9aaccc9850adad4462ea7e.tar.bz2 rails-407baa2b4cc462e42c9aaccc9850adad4462ea7e.zip |
tabenai (typo)
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/extension_migration_test.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/extension_migration_test.rb b/activerecord/test/cases/adapters/postgresql/extension_migration_test.rb index b2a805333c..b56c226763 100644 --- a/activerecord/test/cases/adapters/postgresql/extension_migration_test.rb +++ b/activerecord/test/cases/adapters/postgresql/extension_migration_test.rb @@ -24,9 +24,9 @@ class PostgresqlExtensionMigrationTest < ActiveRecord::PostgreSQLTestCase return skip("no extension support") end - @old_schema_migration_tabel_name = ActiveRecord::SchemaMigration.table_name - @old_tabel_name_prefix = ActiveRecord::Base.table_name_prefix - @old_tabel_name_suffix = ActiveRecord::Base.table_name_suffix + @old_schema_migration_table_name = ActiveRecord::SchemaMigration.table_name + @old_table_name_prefix = ActiveRecord::Base.table_name_prefix + @old_table_name_suffix = ActiveRecord::Base.table_name_suffix ActiveRecord::Base.table_name_prefix = "p_" ActiveRecord::Base.table_name_suffix = "_s" @@ -36,11 +36,11 @@ class PostgresqlExtensionMigrationTest < ActiveRecord::PostgreSQLTestCase end def teardown - ActiveRecord::Base.table_name_prefix = @old_tabel_name_prefix - ActiveRecord::Base.table_name_suffix = @old_tabel_name_suffix + ActiveRecord::Base.table_name_prefix = @old_table_name_prefix + ActiveRecord::Base.table_name_suffix = @old_table_name_suffix ActiveRecord::SchemaMigration.delete_all rescue nil ActiveRecord::Migration.verbose = true - ActiveRecord::SchemaMigration.table_name = @old_schema_migration_tabel_name + ActiveRecord::SchemaMigration.table_name = @old_schema_migration_table_name super end |