Displaying 1 result from an estimated 1 matches for "show_provider_products_for_dealer".
2007 Apr 27
2
Newlines breaking "should have_tag :text =>" specs
...t;, :text
=> "#{product.name}")
end
end
It fails when it renders a partial containing this:
<td id="product_name_<%= product.id%>">
<%= product.name %>
</td>
and gives this error:
''A rendered show_provider_products_for_dealer view should have list
of prooducts for particular provider'' FAILED
<"product 1"> expected but was
<"\\r\n product 1\\r">.
<false> is not true.
The following change makes it work:
<td id="product_name_<%= prod...