mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix spelling errors and grammar issues
Including replacing a few "smart quotes" with regular quotes (' and "), for consistency. [ci skip]
This commit is contained in:
parent
7240d6a495
commit
c4d2e8eef2
1 changed files with 11 additions and 8 deletions
|
@ -158,7 +158,7 @@ In case you can't use the Rails development box, see section above, check [this
|
||||||
|
|
||||||
### Clone the Rails Repository ###
|
### Clone the Rails Repository ###
|
||||||
|
|
||||||
To do to be able to contribute code, you need to clone the Rails repository:
|
To be able to contribute code, you need to clone the Rails repository:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ git clone git://github.com/rails/rails.git
|
$ git clone git://github.com/rails/rails.git
|
||||||
|
@ -234,7 +234,9 @@ $ cd rails
|
||||||
$ bundle exec rake test
|
$ bundle exec rake test
|
||||||
```
|
```
|
||||||
#### Particular component of Rails
|
#### Particular component of Rails
|
||||||
To run tests only for particular component(ActionPack, ActiveRecord etc). For example, to run `ActionMailer` test do
|
To run tests only for particular component(ActionPack, ActiveRecord, etc.). For
|
||||||
|
example, to run `ActionMailer` tests you can:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd actionmailer
|
$ cd actionmailer
|
||||||
$ bundle exec rake test
|
$ bundle exec rake test
|
||||||
|
@ -273,8 +275,9 @@ $ ARCONN=sqlite3 ruby -Itest test/cases/associations/has_many_associations_test.
|
||||||
|
|
||||||
You can invoke `test_jdbcmysql`, `test_jdbcsqlite3` or `test_jdbcpostgresql` also. See the file `activerecord/RUNNING_UNIT_TESTS.rdoc` for information on running more targeted database tests, or the file `ci/travis.rb` for the test suite run by the continuous integration server.
|
You can invoke `test_jdbcmysql`, `test_jdbcsqlite3` or `test_jdbcpostgresql` also. See the file `activerecord/RUNNING_UNIT_TESTS.rdoc` for information on running more targeted database tests, or the file `ci/travis.rb` for the test suite run by the continuous integration server.
|
||||||
|
|
||||||
#### Single Test seprately
|
#### Single Test separately
|
||||||
to run just one test. for example, to run `LayoutMailerTest` you can do:
|
to run just one test. For example, to run `LayoutMailerTest` you can:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd actionmailer
|
$ cd actionmailer
|
||||||
$ ruby -w -Ilib:test test/mail_layout_test.rb
|
$ ruby -w -Ilib:test test/mail_layout_test.rb
|
||||||
|
@ -320,8 +323,8 @@ You should not be the only person who looks at the code before you submit it.
|
||||||
If you know someone else who uses Rails, try asking them if they'll check out
|
If you know someone else who uses Rails, try asking them if they'll check out
|
||||||
your work. If you don't know anyone else using Rails, try hopping into the IRC
|
your work. If you don't know anyone else using Rails, try hopping into the IRC
|
||||||
room or posting about your idea to the rails-core mailing list. Doing this in
|
room or posting about your idea to the rails-core mailing list. Doing this in
|
||||||
private before you push a patch out publicly is the “smoke test” for a patch:
|
private before you push a patch out publicly is the "smoke test" for a patch:
|
||||||
if you can’t convince one other developer of the beauty of your code, you’re
|
if you can't convince one other developer of the beauty of your code, you’re
|
||||||
unlikely to convince the core team either.
|
unlikely to convince the core team either.
|
||||||
|
|
||||||
### Commit Your Changes ###
|
### Commit Your Changes ###
|
||||||
|
|
Loading…
Reference in a new issue