aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/config.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-02-29 12:22:08 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-02-29 12:22:08 +0900
commit8d7554e919b8350eba6e675cb24ae28f4e915ee5 (patch)
tree13154082016381986e4ff4c67661bfbb2a1fc1de /activerecord/test/config.rb
parente4ad3b26d946d56907e64e767b607f53be73d458 (diff)
downloadrails-8d7554e919b8350eba6e675cb24ae28f4e915ee5.tar.gz
rails-8d7554e919b8350eba6e675cb24ae28f4e915ee5.tar.bz2
rails-8d7554e919b8350eba6e675cb24ae28f4e915ee5.zip
Fix tests failure with `prepared_statements: false`
Some tests does not work for unprepared statements. Add `if ActiveRecord::Base.connection.prepared_statements` and fix a regex for fix tests failure with `prepared_statements: false`.
Diffstat (limited to 'activerecord/test/config.rb')
0 files changed, 0 insertions, 0 deletions