aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2017-03-09 20:05:13 +0530
committerVipul A M <vipulnsward@gmail.com>2017-03-09 20:05:13 +0530
commit7724c8cb53093ba09f5b8f08feb8321d376d56dd (patch)
treed81ea5846ffddbd70bdc96fd3f5cb9e0ad0a7f7b /guides
parent12038f6505cdbcdbea861c7ae5f272e918100e13 (diff)
downloadrails-7724c8cb53093ba09f5b8f08feb8321d376d56dd.tar.gz
rails-7724c8cb53093ba09f5b8f08feb8321d376d56dd.tar.bz2
rails-7724c8cb53093ba09f5b8f08feb8321d376d56dd.zip
Edits to Systems testing section [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/testing.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md
index f7640d097f..ada7c2da76 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -644,7 +644,7 @@ system tests should live.
If you want to change the default settings you can simply change what the system
tests are "driven by". Say you want to change the driver from Selenium to
-Poltergeist. First add the Poltergeist gem to your Gemfile. Then in your
+Poltergeist. First add the `poltergeist` gem to your Gemfile. Then in your
`application_system_test_case.rb` file do the following:
```ruby
@@ -722,7 +722,7 @@ class ArticlesTest < ApplicationSystemTestCase
end
```
-The test should see that there is an h1 on the articles index and pass.
+The test should see that there is an `h1` on the articles index page and pass.
Run the system tests.
@@ -760,7 +760,7 @@ text. Once the fields are filled in, "Create Article" is clicked on which will
send a POST request to create the new article in the database.
We will be redirected back to the the articles index page and there we assert
-that the text from the article title is on the articles index page.
+that the text from the new article's title is on the articles index page.
#### Taking it further