(Rails) Assert_Select's Annoying Warnings
Posted
by CalebHC
on Stack Overflow
See other posts from Stack Overflow
or by CalebHC
Published on 2009-11-04T01:31:07Z
Indexed on
2010/04/06
18:23 UTC
Read the original article
Hit count: 283
ruby-on-rails
|functional-testing
Does anyone know how to make assert_select not output all those nasty html warnings during a rake test? You know, like this stuff:
.ignoring attempt to close body with div
opened at byte 1036, line 5
closed at byte 5342, line 42
attributes at open: {"class"=>"inner02"}
text around open: "</script>\r\t</head>\r\t<body class=\"inner02"
text around close: "\t</div>\r\t\t\t</div>\r\t\t</div>\r\t</body>\r</ht"
Thanks
© Stack Overflow or respective owner