Permalink
Browse files

use `setup` for setting up the test

  • Loading branch information...
1 parent 4f44173 commit 081f0ad413cd821f8dad5b334e7479ffdc0b037d @tenderlove tenderlove committed Oct 15, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 activerecord/test/cases/schema_dumper_test.rb
@@ -2,13 +2,9 @@
class SchemaDumperTest < ActiveRecord::TestCase
- def initialize(*)
- super
- ActiveRecord::SchemaMigration.create_table
- end
-
def setup
super
+ ActiveRecord::SchemaMigration.create_table
@stream = StringIO.new
end

0 comments on commit 081f0ad

Please sign in to comment.