aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorGaurish Sharma <contact@gaurishsharma.com>2014-04-21 18:09:22 +0530
committerGaurish Sharma <contact@gaurishsharma.com>2014-04-21 18:09:22 +0530
commit28bd442034e0974d0a4d664076dafb8e9555816d (patch)
tree3d4584d858917842b08baf72fca61219a4fb767a /guides/source
parent2aef9fddf8b4487a05638ea3341dfd65ceb229ef (diff)
downloadrails-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.md15
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,