aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/RUNNING_UNIT_TESTS
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-06-09 20:15:34 +0100
committerJon Leighton <j@jonathanleighton.com>2011-06-09 20:20:51 +0100
commit4b371b602b61cae5c3eed0ed6a5a2b0f92e4bbaf (patch)
treed6efbdf4a26bf0313a633573ff008eb2c9f1ccf4 /activerecord/RUNNING_UNIT_TESTS
parente48829946d4002f6baffef21f401684d43ab9a35 (diff)
downloadrails-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/RUNNING_UNIT_TESTS')
-rw-r--r--activerecord/RUNNING_UNIT_TESTS7
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/RUNNING_UNIT_TESTS b/activerecord/RUNNING_UNIT_TESTS
index 9dc4b91d26..8fe9a357b4 100644
--- a/activerecord/RUNNING_UNIT_TESTS
+++ b/activerecord/RUNNING_UNIT_TESTS
@@ -25,3 +25,10 @@ You can run all the tests for a given database via rake:
$ rake test_mysql
The 'rake test' task will run all the tests for mysql, mysql2, sqlite3 and postgresql.
+
+== Identity Map
+
+By default the tests run with the Identity Map turned off. But all tests should pass whether or
+not the identity map is on or off. You can turn it on using the IM env variable:
+
+ $ IM=true ruby -Itest test/case/base_test.rb