Permalink
Browse files

call super from setup

  • Loading branch information...
1 parent fb8b17c commit f306f9a1702a8799c78620ec954cc7c2e943c93b @tenderlove tenderlove committed Jan 5, 2012
Showing with 5 additions and 0 deletions.
  1. +4 −0 activerecord/test/active_record/test_case.rb
  2. +1 −0 activerecord/test/cases/schema_dumper_test.rb
@@ -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

0 comments on commit f306f9a

Please sign in to comment.