aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/RUNNING_UNIT_TESTS
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-06-17 17:41:39 +0200
committerXavier Noria <fxn@hashref.com>2010-06-17 17:41:39 +0200
commit12eef93e8901d3bdfe67bdb04c307ddc920221eb (patch)
tree0b4d9aa5ebd7a57fc19c1d7bc8908f7d96219ddf /activerecord/RUNNING_UNIT_TESTS
parent6db9558416cf2133adacbe1634f28c25bfe618d6 (diff)
downloadrails-12eef93e8901d3bdfe67bdb04c307ddc920221eb.tar.gz
rails-12eef93e8901d3bdfe67bdb04c307ddc920221eb.tar.bz2
rails-12eef93e8901d3bdfe67bdb04c307ddc920221eb.zip
documents how to run an individual test in AR
Diffstat (limited to 'activerecord/RUNNING_UNIT_TESTS')
-rw-r--r--activerecord/RUNNING_UNIT_TESTS2
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/RUNNING_UNIT_TESTS b/activerecord/RUNNING_UNIT_TESTS
index 8559d72647..03e561a50b 100644
--- a/activerecord/RUNNING_UNIT_TESTS
+++ b/activerecord/RUNNING_UNIT_TESTS
@@ -32,5 +32,7 @@ being initialized - you can initialize the schema with:
rake test_mysql TEST=test/cases/aaa_create_tables_test.rb
+The incantation for running a particular test looks like this
+ ruby -w -I"lib:test:test/connections/native_postgresql" test/cases/datatype_test_postgresql.rb -n test_timestamp_with_zone_values_without_rails_time_zone_support