diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-04 17:11:15 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-04 17:11:15 -0800 |
commit | f306f9a1702a8799c78620ec954cc7c2e943c93b (patch) | |
tree | 11ab96e8985c1b3c7b3d1a0b719f9a8ded37079f /activerecord/test/active_record | |
parent | fb8b17c720683fab62925f9765fc65c9e0a167c4 (diff) | |
download | rails-f306f9a1702a8799c78620ec954cc7c2e943c93b.tar.gz rails-f306f9a1702a8799c78620ec954cc7c2e943c93b.tar.bz2 rails-f306f9a1702a8799c78620ec954cc7c2e943c93b.zip |
call super from setup
Diffstat (limited to 'activerecord/test/active_record')
-rw-r--r-- | activerecord/test/active_record/test_case.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/active_record/test_case.rb b/activerecord/test/active_record/test_case.rb index 2f18eba157..64ecef2077 100644 --- a/activerecord/test/active_record/test_case.rb +++ b/activerecord/test/active_record/test_case.rb @@ -53,5 +53,9 @@ module ActiveRecord ensure ActiveRecord::SQLCounter.ignored_sql = prev_ignored_sql end + + def sqlite3? connection + connection.class.name.split('::').last == "SQLite3Adapter" + end end end |