aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/RUNNING_UNIT_TESTS
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-10-11 12:06:21 +0200
committerXavier Noria <fxn@hashref.com>2010-10-11 12:06:21 +0200
commit21a92b8d01eed34a6b26adb51139f1c40467409e (patch)
treefe9673e3018b79031511098a7abf4930aaa807ab /activerecord/RUNNING_UNIT_TESTS
parenta8b1780410a86be58ac0f341ae6b079800783fcf (diff)
parente6b45b8111cc375be57a1e1ca2b2b47eb21a2e01 (diff)
downloadrails-21a92b8d01eed34a6b26adb51139f1c40467409e.tar.gz
rails-21a92b8d01eed34a6b26adb51139f1c40467409e.tar.bz2
rails-21a92b8d01eed34a6b26adb51139f1c40467409e.zip
Merge branch 'master' of git://github.com/lifo/docrails
Diffstat (limited to 'activerecord/RUNNING_UNIT_TESTS')
-rw-r--r--activerecord/RUNNING_UNIT_TESTS7
1 files changed, 6 insertions, 1 deletions
diff --git a/activerecord/RUNNING_UNIT_TESTS b/activerecord/RUNNING_UNIT_TESTS
index 324df2c025..18e3936d8a 100644
--- a/activerecord/RUNNING_UNIT_TESTS
+++ b/activerecord/RUNNING_UNIT_TESTS
@@ -31,8 +31,13 @@ That'll run the base suite using the MySQL-Ruby adapter. Some tests rely on the
being initialized - you can initialize the schema with:
rake test_mysql TEST=test/cases/aaa_create_tables_test.rb
+ rake mysql:build_databases
+
+To setup the testing environment for PostgreSQL use this command:
+
+ rake postgresql:build_databases
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
+ rake test TEST=test/cases/datatype_test_postgresql.rb TESTOPTS="-n test_timestamp_with_zone_values_without_rails_time_zone_support"