mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
call super from setup
This commit is contained in:
parent
fb8b17c720
commit
f306f9a170
2 changed files with 5 additions and 0 deletions
|
@ -53,5 +53,9 @@ module ActiveRecord
|
|||
ensure
|
||||
ActiveRecord::SQLCounter.ignored_sql = prev_ignored_sql
|
||||
end
|
||||
|
||||
def sqlite3? connection
|
||||
connection.class.name.split('::').last == "SQLite3Adapter"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -3,6 +3,7 @@ require "cases/helper"
|
|||
|
||||
class SchemaDumperTest < ActiveRecord::TestCase
|
||||
def setup
|
||||
super
|
||||
@stream = StringIO.new
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue