diff options
author | Zachary Scott <e@zzak.io> | 2014-12-29 15:51:35 -0800 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-12-29 15:51:35 -0800 |
commit | b80a6cd0d3df7c09f34a86167251528a57ea13bf (patch) | |
tree | 6266db504656548ec3b6483b772785c70706d5c6 /guides/source/testing.md | |
parent | b9292cbd49b5947e9473ea0a2122781662f1ef88 (diff) | |
download | rails-b80a6cd0d3df7c09f34a86167251528a57ea13bf.tar.gz rails-b80a6cd0d3df7c09f34a86167251528a57ea13bf.tar.bz2 rails-b80a6cd0d3df7c09f34a86167251528a57ea13bf.zip |
Remove pre-4.2 comment about missing `assert_select` [ci skip]
Diffstat (limited to 'guides/source/testing.md')
-rw-r--r-- | guides/source/testing.md | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index baae626e1b..4f5e3d18ec 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -690,8 +690,6 @@ Finished in 0.081972s, 12.1993 runs/s, 48.7972 assertions/s. 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. -NOTE: You may find references to `assert_tag` in other documentation. This has been removed in 4.2. Use `assert_select` instead. - There are two forms of `assert_select`: `assert_select(selector, [equality], [message])` ensures that the equality condition is met on the selected elements through the selector. The selector may be a CSS selector expression (String) or an expression with substitution values. |