call super from setup
This commit is contained in:
parent
fb8b17c720
commit
f306f9a170
@ -53,5 +53,9 @@ def assert_no_queries(&block)
|
||||
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 @@
|
||||
|
||||
class SchemaDumperTest < ActiveRecord::TestCase
|
||||
def setup
|
||||
super
|
||||
@stream = StringIO.new
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user