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

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Robert A. (Guest)
on 2006-02-18 02: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.
Luke R. (Guest)
on 2006-02-18 03:32
(Received via mailing list)
It sounds like your outputted XML is not well formed, either that or
is a bug somewhere.

Does the page validate?

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