diff options
author | Gaurish Sharma <contact@gaurishsharma.com> | 2014-04-21 18:09:22 +0530 |
---|---|---|
committer | Gaurish Sharma <contact@gaurishsharma.com> | 2014-04-21 18:09:22 +0530 |
commit | 28bd442034e0974d0a4d664076dafb8e9555816d (patch) | |
tree | 3d4584d858917842b08baf72fca61219a4fb767a /guides/source | |
parent | 2aef9fddf8b4487a05638ea3341dfd65ceb229ef (diff) | |
download | rails-28bd442034e0974d0a4d664076dafb8e9555816d.tar.gz rails-28bd442034e0974d0a4d664076dafb8e9555816d.tar.bz2 rails-28bd442034e0974d0a4d664076dafb8e9555816d.zip |
Running AR tests on postgres, mysql & sqlite
[ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/contributing_to_ruby_on_rails.md | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/guides/source/contributing_to_ruby_on_rails.md b/guides/source/contributing_to_ruby_on_rails.md index da1f305e6c..2ab3280dc8 100644 --- a/guides/source/contributing_to_ruby_on_rails.md +++ b/guides/source/contributing_to_ruby_on_rails.md @@ -244,19 +244,14 @@ $ bundle exec rake test ##### Testing Active Record -This is how you run the Active Record test suite only for SQLite3: +This is how you run the Active Record test suite only for specific database: ```bash $ cd activerecord -$ bundle exec rake test_sqlite3 -``` - -You can now run the tests as you did for `sqlite3`. The tasks are respectively - -```bash -test_mysql -test_mysql2 -test_postgresql +$ bundle exec rake test_sqlite3 #sqlite +$ bundle exec rake test_mysql #mysql using mysql gem +$ bundle exec rake test_mysql2 #mysql using mysql2 gem +$ bundle exec rake test_postgresql #postgres ``` Finally, |