# Testing "XML views"

**URL:** <https://www.ruby-forum.com/t/testing-xml-views/118869>\
**Category:** RSpec\
**Created:** [October 31, 2007, 7:45pm UTC](https://www.ruby-forum.com/t/testing-xml-views/118869 "2007-10-31T19:45:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Aimonetti](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e79b87/32.png) [@Matt\_Aimonetti](https://www.ruby-forum.com/u/Matt_Aimonetti)\
**Post date:** [October 31, 2007, 7:45pm UTC](https://www.ruby-forum.com/t/testing-xml-views/118869/1 "2007-10-31T19:45:12Z")

</div>

I put together a simple tutorial showing how I use Hpricot to tests my  
“XML  
views”

[http://railsontherun.com/2007/10/31/how-to-test-a-xml-builder-view](http://railsontherun.com/2007/10/31/how-to-test-a-xml-builder-view)

I’m sure there are other ways and even maybe something built in RSpec.  
Anyone knows of a “better” solution?

Thanks,

-Matt
