atom_feed(:language => I18n.locale, :schema_date => 2009,
:id => url_for(@params.merge(:only_path => false)),
:root_url => url_for(@params.merge(:action => :index, :format => nil, :only_path => false)),
+ "xmlns:xhtml" => "http://www.w3.org/1999/xhtml",
"xmlns:georss" => "http://www.georss.org/georss") do |feed|
feed.title changeset_index_title(params, current_user)
changesets.each do |changeset|
assert_select "> entry > id", changeset_url(:id => changeset.id)
+
+ assert_select "> entry > content > xhtml|div > xhtml|table" do
+ assert_select "> xhtml|tr > xhtml|td > xhtml|table" do
+ changeset.tags.each do |key, _|
+ assert_select "> xhtml|tr > xhtml|td", :text => /^#{key} = /
+ end
+ end
+ end
end
end
end