diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-01-16 04:25:55 +0100 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-01-16 04:25:55 +0100 |
commit | ee2480034a4d4a9f087d4332c8da03fd513f5c70 (patch) | |
tree | 8d271cf89baaab64c2819c5cf42cd668fabb507e /activerecord | |
parent | 66cabfc9d9eb748920a9aff62bd18b0033772f4e (diff) | |
download | rails-ee2480034a4d4a9f087d4332c8da03fd513f5c70.tar.gz rails-ee2480034a4d4a9f087d4332c8da03fd513f5c70.tar.bz2 rails-ee2480034a4d4a9f087d4332c8da03fd513f5c70.zip |
Try to create schema migrations table in schema dumper test
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/schema_dumper_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/test/cases/schema_dumper_test.rb b/activerecord/test/cases/schema_dumper_test.rb index 9abc363546..abeb56fd3f 100644 --- a/activerecord/test/cases/schema_dumper_test.rb +++ b/activerecord/test/cases/schema_dumper_test.rb @@ -2,6 +2,11 @@ require "cases/helper" class SchemaDumperTest < ActiveRecord::TestCase + def initialize(*) + super + ActiveRecord::SchemaMigration.create_table + end + def setup super @stream = StringIO.new |