diff options
Diffstat (limited to 'activerecord/test/cases/helper.rb')
-rw-r--r-- | activerecord/test/cases/helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/helper.rb b/activerecord/test/cases/helper.rb index ad0430a92f..fd20f1b120 100644 --- a/activerecord/test/cases/helper.rb +++ b/activerecord/test/cases/helper.rb @@ -27,7 +27,7 @@ ActiveSupport::Deprecation.debug = true QUOTED_TYPE = ActiveRecord::Base.connection.quote_column_name('type') # Enable Identity Map for testing -ActiveRecord::IdentityMap.enabled = true +ActiveRecord::IdentityMap.enabled = (ENV['IM'] == "false" ? false : true) def current_adapter?(*types) types.any? do |type| |