aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-05-19 16:24:23 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-05-19 16:24:23 -0300
commit7cd2b0219038ea91859c1e352d7fad670fe37544 (patch)
treed64ef02834760dd1973ceb8701a5c0cca2224059
parent4b560bf96b1c48bc996c8e7d03d42c4353c3b1bf (diff)
parentd5847f4cc01fc2fbea20a6fef5d45d4863476f4b (diff)
downloadrails-7cd2b0219038ea91859c1e352d7fad670fe37544.tar.gz
rails-7cd2b0219038ea91859c1e352d7fad670fe37544.tar.bz2
rails-7cd2b0219038ea91859c1e352d7fad670fe37544.zip
Merge pull request #20157 from tak1n/master
Clarify view tests
-rw-r--r--guides/source/testing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md
index 8278bdcd5d..556c043391 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -898,7 +898,7 @@ For more information on routing assertions available in Rails, see the API docum
Testing Views
-------------
-Testing the response to your request by asserting the presence of key HTML elements and their content is a common way to test the views of your application. The `assert_select` method allows you to query HTML elements of the response by using a simple yet powerful syntax.
+Testing the response to your request by asserting the presence of key HTML elements and their content is a common way to test the views of your application. Like route tests, view tests reside in `test/controllers/` or are part of controller tests. The `assert_select` method allows you to query HTML elements of the response by using a simple yet powerful syntax.
There are two forms of `assert_select`: