Skip to content

Commit

Permalink
Remove assert_select_feed from assert_select_encoded documentation
Browse files Browse the repository at this point in the history
This documentation came from the assert_select plugin, but the
assert_select_feed method was omitted when the plugin was merged
into Rails in 3142502.
  • Loading branch information
tomstuart committed Feb 5, 2012
1 parent 255d9c3 commit 71abd4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actionpack/lib/action_dispatch/testing/assertions/selector.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def count_description(min, max, count) #:nodoc:
# #
# ==== Examples # ==== Examples
# # Selects all bold tags from within the title of an ATOM feed's entries (perhaps to nab a section name prefix) # # 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 # # Select each entry item and then the title item
# assert_select "entry>title" do # assert_select "entry>title" do
# # Run assertions on the encoded title elements # # Run assertions on the encoded title elements
Expand All @@ -353,7 +353,7 @@ def count_description(min, max, count) #:nodoc:
# #
# #
# # Selects all paragraph tags from within the description of an RSS feed # # 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. # # Select description element of each feed item.
# assert_select "channel>item>description" do # assert_select "channel>item>description" do
# # Run assertions on the encoded elements. # # Run assertions on the encoded elements.
Expand Down

0 comments on commit 71abd4f

Please sign in to comment.