From 081f0ad413cd821f8dad5b334e7479ffdc0b037d Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 15 Oct 2012 14:22:15 -0700 Subject: use `setup` for setting up the test --- activerecord/test/cases/schema_dumper_test.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/activerecord/test/cases/schema_dumper_test.rb b/activerecord/test/cases/schema_dumper_test.rb index 80f46c6b08..5f13124e5b 100644 --- a/activerecord/test/cases/schema_dumper_test.rb +++ b/activerecord/test/cases/schema_dumper_test.rb @@ -2,13 +2,9 @@ require "cases/helper" class SchemaDumperTest < ActiveRecord::TestCase - def initialize(*) - super - ActiveRecord::SchemaMigration.create_table - end - def setup super + ActiveRecord::SchemaMigration.create_table @stream = StringIO.new end -- cgit v1.2.3