call super from setup

This commit is contained in:
Aaron Patterson 2012-01-04 17:11:15 -08:00
parent fb8b17c720
commit f306f9a170
2 changed files with 5 additions and 0 deletions

@ -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