assert_equal "application/rss+xml", @response.media_type
assert_select "rss", :count => 1 do
assert_select "channel", :count => 1 do
+ assert_select "description", :text => /1\.2/, :count => 1
assert_select "item", :count => 2
end
end
assert_equal "application/rss+xml", @response.media_type
assert_select "rss", :count => 1 do
assert_select "channel", :count => 1 do
+ assert_select "description", :text => /1\.2/, :count => 1
assert_select "item", :count => 2
end
end