1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

fix typo in Rails Test Runner section

This commit is contained in:
colleenmcguckin 2016-10-31 12:18:20 -07:00
parent 8931916f4a
commit 700623936e
No known key found for this signature in database
GPG key ID: 9833C5FA2BC25AA3

View file

@ -414,7 +414,7 @@ You can also run an entire directory of tests by providing the path to the direc
$ bin/rails test test/controllers # run all tests from specific directory
```
The test runner provides lot of other features too like failing fast, deferring test output
The test runner also provides a lot of other features like failing fast, deferring test output
at the end of test run and so on. Check the documentation of the test runner as follows:
```bash
@ -859,7 +859,7 @@ You also have access to three instance variables in your functional tests, after
class ArticlesControllerTest < ActionDispatch::IntegrationTest
test "should get index" do
get articles_url
assert_equal "index", @controller.action_name
assert_equal "application/x-www-form-urlencoded", @request.media_type
assert_match "Articles", @response.body