aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/RUNNING_UNIT_TESTS
diff options
context:
space:
mode:
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