Skip to content

Commit

Permalink
call super from setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Jan 5, 2012
1 parent fb8b17c commit f306f9a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions activerecord/test/active_record/test_case.rb
Expand Up @@ -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
1 change: 1 addition & 0 deletions activerecord/test/cases/schema_dumper_test.rb
Expand Up @@ -3,6 +3,7 @@

class SchemaDumperTest < ActiveRecord::TestCase
def setup
super
@stream = StringIO.new
end

Expand Down

0 comments on commit f306f9a

Please sign in to comment.