diff options
author | Xavier Noria <fxn@hashref.com> | 2011-03-24 23:51:17 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-04-13 13:23:16 +0200 |
commit | b878757c5073eac7e4fcfd2093d38d8b841db846 (patch) | |
tree | bf5c69b8610a1e322426affd769de23fb0f63675 /railties/guides/source | |
parent | 8449da929efddb7f1eb6e6e7e39d8e480bec9484 (diff) | |
download | rails-b878757c5073eac7e4fcfd2093d38d8b841db846.tar.gz rails-b878757c5073eac7e4fcfd2093d38d8b841db846.tar.bz2 rails-b878757c5073eac7e4fcfd2093d38d8b841db846.zip |
removes assert_select_rjs
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/testing.textile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/railties/guides/source/testing.textile b/railties/guides/source/testing.textile index 2809c6d076..e2317661ea 100644 --- a/railties/guides/source/testing.textile +++ b/railties/guides/source/testing.textile @@ -592,7 +592,6 @@ There are more assertions that are primarily used in testing views: |_.Assertion |_.Purpose| |+assert_select_email+ |Allows you to make assertions on the body of an e-mail. | -|+assert_select_rjs+ |Allows you to make assertions on an RJS response. +assert_select_rjs+ has variants which allow you to narrow down on the updated element or even a particular operation on an element.| |+assert_select_encoded+ |Allows you to make assertions on encoded HTML. It does this by un-encoding the contents of each element and then calling the block with all the un-encoded elements.| |+css_select(selector)+ or +css_select(element, selector)+ |Returns an array of all the elements selected by the _selector_. In the second variant it first matches the base _element_ and tries to match the _selector_ expression on any of its children. If there are no matches both variants return an empty array.| |