aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-10-15 14:22:15 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2012-10-15 14:22:15 -0700
commit081f0ad413cd821f8dad5b334e7479ffdc0b037d (patch)
tree385d448890f1ca6d59c2ffed84a08ee4b0852e53 /activerecord
parent4f4417314c9f1e81bc7a11b569d85ace1f8384f8 (diff)
downloadrails-081f0ad413cd821f8dad5b334e7479ffdc0b037d.tar.gz
rails-081f0ad413cd821f8dad5b334e7479ffdc0b037d.tar.bz2
rails-081f0ad413cd821f8dad5b334e7479ffdc0b037d.zip
use `setup` for setting up the test
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/schema_dumper_test.rb6
1 files changed, 1 insertions, 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