Zach Dennis wrote:
> response.should
> have_tag("input[type=radio][checked=checked][name=?][valued=?]",
> "your[button]", "foo")


Wouldn't that require me to do this: <input>My label</input>
My validator is saying that is not valid XHTML.

Thanks for the suggestion. I definitely haven't looked into the power of 
have_tag enough.

Paul
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to