On 6/29/07, Tom Locke <[EMAIL PROTECTED]> 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.

http://rubyforge.org/tracker/?group_id=797

Thanks,
David

>
> 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  :-)
>
> Tom
>
> _______________________________________________
> rspec-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to