Permalink
Browse files

Running AR tests on postgres, mysql & sqlite

[ci skip]
  • Loading branch information...
1 parent 2aef9fd commit 28bd442034e0974d0a4d664076dafb8e9555816d @gaurish gaurish committed Apr 21, 2014
Showing with 5 additions and 10 deletions.
  1. +5 −10 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,

0 comments on commit 28bd442

Please sign in to comment.