diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-06-09 20:15:34 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-06-09 20:20:51 +0100 |
commit | 4b371b602b61cae5c3eed0ed6a5a2b0f92e4bbaf (patch) | |
tree | d6efbdf4a26bf0313a633573ff008eb2c9f1ccf4 /activerecord/test/support/connection.rb | |
parent | e48829946d4002f6baffef21f401684d43ab9a35 (diff) | |
download | rails-4b371b602b61cae5c3eed0ed6a5a2b0f92e4bbaf.tar.gz rails-4b371b602b61cae5c3eed0ed6a5a2b0f92e4bbaf.tar.bz2 rails-4b371b602b61cae5c3eed0ed6a5a2b0f92e4bbaf.zip |
Print out information about whether the identity map is on or off when running unit tests
Diffstat (limited to 'activerecord/test/support/connection.rb')
-rw-r--r-- | activerecord/test/support/connection.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/support/connection.rb b/activerecord/test/support/connection.rb index fcd2e4dee5..a39794fa39 100644 --- a/activerecord/test/support/connection.rb +++ b/activerecord/test/support/connection.rb @@ -11,7 +11,7 @@ module ARTest end def self.connect - puts "Using #{connection_name}" + puts "Using #{connection_name} with Identity Map #{ActiveRecord::IdentityMap.enabled? ? 'on' : 'off'}" ActiveRecord::Base.logger = Logger.new("debug.log") ActiveRecord::Base.configurations = connection_config ActiveRecord::Base.establish_connection 'arunit' |