Skip to content

Commit

Permalink
Merge pull request #30206 from yukihirop/improve_activerecord_rdoc
Browse files Browse the repository at this point in the history
Add document that you rake test single file by using DB(ex. postgresql)
  • Loading branch information
kaspth committed Aug 14, 2017
2 parents 114bab9 + c8a0eab commit 5a5b481
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions activerecord/RUNNING_UNIT_TESTS.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 5a5b481

Please sign in to comment.