diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-11-19 18:02:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-19 18:02:04 +0100 |
commit | 1cf995688d8df0bc4a473a0e41dc2240e413bb44 (patch) | |
tree | 2697ab28933b0fcd7d1de04012ce645f02972dc1 /activerecord/test/support/config.rb | |
parent | 4aacace550155faab98710c045f912db80601004 (diff) | |
parent | 7b6b52d6bcd204aaddcdc36481956d73a54ea7bb (diff) | |
download | rails-1cf995688d8df0bc4a473a0e41dc2240e413bb44.tar.gz rails-1cf995688d8df0bc4a473a0e41dc2240e413bb44.tar.bz2 rails-1cf995688d8df0bc4a473a0e41dc2240e413bb44.zip |
Merge pull request #27109 from prathamesh-sonpatki/fix-prepared-statements-test
Fix tests for prepared_statements: false and queries hitting `#select_all`
Diffstat (limited to 'activerecord/test/support/config.rb')
-rw-r--r-- | activerecord/test/support/config.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/test/support/config.rb b/activerecord/test/support/config.rb index 5817e427e3..e1aa8d72e3 100644 --- a/activerecord/test/support/config.rb +++ b/activerecord/test/support/config.rb @@ -26,7 +26,8 @@ module ARTest def expand_config(config) config["connections"].each do |adapter, connection| - dbs = [["arunit", "activerecord_unittest"], ["arunit2", "activerecord_unittest2"]] + dbs = [["arunit", "activerecord_unittest"], ["arunit2", "activerecord_unittest2"], + ["arunit_with_prepared_statements", "activerecord_unittest"]] dbs.each do |name, dbname| unless connection[name].is_a?(Hash) connection[name] = { "database" => connection[name] } |