search for: product_name_

Displaying 1 result from an estimated 1 matches for "product_name_".

Did you mean: product_name
2007 Apr 27
2
Newlines breaking "should have_tag :text =>" specs
Hi I''ve got an RJS spec that is failing. It looks like this: specify "should have list of prooducts for particular provider" do @provider.products.each do |product| response.should have_tag("#product_name_#{product.id}", :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: '...