diff options
author | Rodrigo Rosenfeld Rosas <rr_rosas@yahoo.com.br> | 2009-08-13 11:33:46 -0300 |
---|---|---|
committer | Rodrigo Rosenfeld Rosas <rr_rosas@yahoo.com.br> | 2009-08-13 12:27:04 -0300 |
commit | 2a9c6cc06edd91ef1d20fff2e077b4931957392a (patch) | |
tree | 28360c00546b4c342723e119d1d60ec05f4c642b /railties/guides/source/contributing_to_rails.textile | |
parent | 2e50110eac439f3d5d292f1519ae7c79991eb91a (diff) | |
download | rails-2a9c6cc06edd91ef1d20fff2e077b4931957392a.tar.gz rails-2a9c6cc06edd91ef1d20fff2e077b4931957392a.tar.bz2 rails-2a9c6cc06edd91ef1d20fff2e077b4931957392a.zip |
Update instructions for contribution guide.
Diffstat (limited to 'railties/guides/source/contributing_to_rails.textile')
-rw-r--r-- | railties/guides/source/contributing_to_rails.textile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/railties/guides/source/contributing_to_rails.textile b/railties/guides/source/contributing_to_rails.textile index eae89e0b7e..b20b7d3994 100644 --- a/railties/guides/source/contributing_to_rails.textile +++ b/railties/guides/source/contributing_to_rails.textile @@ -75,7 +75,12 @@ TIP: You may want to "put your git branch name in your shell prompt":http://gith h4. Set up and Run the Tests -All of the Rails tests must pass with any code you submit, otherwise you have no chance of getting code accepted. This means you need to be able to run the tests. For the tests that touch the database, this means creating the databases. If you're using MySQL: +All of the Rails tests must pass with any code you submit, otherwise you have no chance of getting code accepted. This means you need to be able to run the tests. Rails needs the +mocha+ gem for running some tests, so install it with: +<shell> +gem install mocha +</shell> + +For the tests that touch the database, this means creating the databases. If you're using MySQL: <shell> mysql> create database activerecord_unittest; |