Forum: Ruby on Rails Should assert_tag be used to test rxml views?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Af7b9309245ba5074480481dc4eed114?d=identicon&s=25 Robert Atkins (ratkins)
on 2006-02-18 01:00
I'm getting strange errors attempting to test an rxml view with
assert_tag. I can see that what the view is producing is correct but I
get an error like "ignoring attempt to close foo with bar" (where bar is
a tag which is meant to be nested in foo). Is asssert_tag meant for xml,
or just html?

Cheers, Robert.
1e99128ebac5ca41c91940291d315332?d=identicon&s=25 Luke Redpath (Guest)
on 2006-02-18 02:32
(Received via mailing list)
It sounds like your outputted XML is not well formed, either that or
there
is a bug somewhere.

Does the page validate?

Cheers
Luke Redpath
This topic is locked and can not be replied to.