提交 f306f9a1 编写于 作者: A Aaron Patterson

call super from setup

上级 fb8b17c7
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册