mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Update instructions for contribution guide.
This commit is contained in:
parent
2e50110eac
commit
2a9c6cc06e
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue