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_TESTS9
1 files changed, 8 insertions, 1 deletions
diff --git a/activerecord/RUNNING_UNIT_TESTS b/activerecord/RUNNING_UNIT_TESTS
index bc4faa488c..16444249cc 100644
--- a/activerecord/RUNNING_UNIT_TESTS
+++ b/activerecord/RUNNING_UNIT_TESTS
@@ -22,4 +22,11 @@ environment variable:
You can run all the tests for a given database via rake:
- $ rake test_postgresql
+To setup the testing environment for PostgreSQL use this command:
+
+ rake postgresql:build_databases
+
+The incantation for running a particular test looks like this
+
+ rake test TEST=test/cases/datatype_test_postgresql.rb TESTOPTS="--name=test_timestamp_with_zone_values_without_rails_time_zone_support"
+