aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorTom Stuart <tom@experthuman.com>2012-02-05 14:49:30 +0000
committerTom Stuart <tom@experthuman.com>2012-02-05 15:00:03 +0000
commit71abd4fbdd98127dc2b4ca7c9508d38cc4caf888 (patch)
tree76b18ab274e4e97c016de3116e03e1b15f51e859 /actionpack
parent255d9c3d6bdee9d1d1692e4044f1e7f34ae230e7 (diff)
downloadrails-71abd4fbdd98127dc2b4ca7c9508d38cc4caf888.tar.gz
rails-71abd4fbdd98127dc2b4ca7c9508d38cc4caf888.tar.bz2
rails-71abd4fbdd98127dc2b4ca7c9508d38cc4caf888.zip
Remove assert_select_feed from assert_select_encoded documentation
This documentation came from the assert_select plugin, but the assert_select_feed method was omitted when the plugin was merged into Rails in 3142502964f94d6144312ae2c368b4c4589fa25a.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/testing/assertions/selector.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/testing/assertions/selector.rb b/actionpack/lib/action_dispatch/testing/assertions/selector.rb
index 33796008bd..fe149c654d 100644
--- a/actionpack/lib/action_dispatch/testing/assertions/selector.rb
+++ b/actionpack/lib/action_dispatch/testing/assertions/selector.rb
@@ -341,7 +341,7 @@ module ActionDispatch
#
# ==== Examples
# # Selects all bold tags from within the title of an ATOM feed's entries (perhaps to nab a section name prefix)
- # assert_select_feed :atom, 1.0 do
+ # assert_select "feed[xmlns='http://www.w3.org/2005/Atom']" do
# # Select each entry item and then the title item
# assert_select "entry>title" do
# # Run assertions on the encoded title elements
@@ -353,7 +353,7 @@ module ActionDispatch
#
#
# # Selects all paragraph tags from within the description of an RSS feed
- # assert_select_feed :rss, 2.0 do
+ # assert_select "rss[version=2.0]" do
# # Select description element of each feed item.
# assert_select "channel>item>description" do
# # Run assertions on the encoded elements.