diff options
author | yukihirop <te108186@gmail.com> | 2017-08-12 16:51:45 +0900 |
---|---|---|
committer | yukihirop <te108186@gmail.com> | 2017-08-12 16:51:45 +0900 |
commit | c8a0eab9d039e1c2838dfc13c0ad94dde8e4a214 (patch) | |
tree | b881c1d6e1e59e84f651bf0f12673229f3d504b3 /activerecord/RUNNING_UNIT_TESTS.rdoc | |
parent | 615998c4cb3a36b00f4894ec3bf390eb968d8c8b (diff) | |
download | rails-c8a0eab9d039e1c2838dfc13c0ad94dde8e4a214.tar.gz rails-c8a0eab9d039e1c2838dfc13c0ad94dde8e4a214.tar.bz2 rails-c8a0eab9d039e1c2838dfc13c0ad94dde8e4a214.zip |
Add document that you rake test single file by using DB(ex. postgresql) [ci skip]
Diffstat (limited to 'activerecord/RUNNING_UNIT_TESTS.rdoc')
-rw-r--r-- | activerecord/RUNNING_UNIT_TESTS.rdoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/RUNNING_UNIT_TESTS.rdoc b/activerecord/RUNNING_UNIT_TESTS.rdoc index cd22f76d01..60561e2c0f 100644 --- a/activerecord/RUNNING_UNIT_TESTS.rdoc +++ b/activerecord/RUNNING_UNIT_TESTS.rdoc @@ -43,5 +43,9 @@ You can override the +connections:+ parameter in either file using the +ARCONN+ $ ARCONN=postgresql bundle exec ruby -Itest test/cases/base_test.rb +Or + + $ bundle exec rake test:postgresql TEST=test/cases/base_test.rb + You can specify a custom location for the config file using the +ARCONFIG+ environment variable. |