[rspec-users] have_xml_tag

Geoffrey Wiseman geoffrey.wiseman at gmail.com
Fri Oct 5 20:49:13 EDT 2007


On 10/5/07, Shane Mingins <smingins at elctech.com> wrote:
>
> Hi
>
> Was just using have_tag on an xml response and found the problem outlined
> and resolved here
> http://weblog.jamisbuck.org/2007/1/4/assert_xml_select
>
> Just wondered if there is any support in rspec?
>

Really?

I ran into that with Test::Unit/assert_select, but I was surprised and
pleased to discover that have_tag and with_tag didn't seem to care between
HTML and XML.

-- 
Geoffrey Wiseman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071005/00c78dd1/attachment.html 


More information about the rspec-users mailing list