Displaying 1 result from an estimated 1 matches for "product_info_rti".
2007 Feb 13
1
RJS specs
..."product_1")
So far the best I can find is to add a div with a known id to each
partial and test like this:
context "A rendered gap/product_info" do
specify "should have RJS to update the product_info div" do
assigns[:product_partial] = "product_info_rti"
render ''gap/product_info''
response.should_have_rjs :replace_html, ''product_info''
end
%w[ rti finance ].each do |product_type|
specify "should have a product_info_#{product_type} div when
the " do...