aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/support/config.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-11-19 18:02:04 +0100
committerGitHub <noreply@github.com>2016-11-19 18:02:04 +0100
commit1cf995688d8df0bc4a473a0e41dc2240e413bb44 (patch)
tree2697ab28933b0fcd7d1de04012ce645f02972dc1 /activerecord/test/support/config.rb
parent4aacace550155faab98710c045f912db80601004 (diff)
parent7b6b52d6bcd204aaddcdc36481956d73a54ea7bb (diff)
downloadrails-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.rb3
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] }