[rspec-users] DOM equal?
dchelimsky at gmail.com
Fri Jun 29 08:22:40 EDT 2007
On 6/29/07, Tom Locke <tom at hobocentral.net> wrote:
> Is something like Rails' assert_dom_equal available?
Well, yes and no.
Spec::Rails wraps test/unit, so you can use assert_dom_equal directly.
If you'd like to see this in a matcher, feel free to submit an RFE -
ideally with a patch.
> such that <x a='1' b='2'/> is equal to <x b='2' a='1'/>
> What I really need is something that will work for a whole fragment
> of xml, not just a single tag.
> Google says no, but google doesn't know everything. Or maybe I don't
> know what the correct question is :-)
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users