Displaying 1 result from an estimated 1 matches for "product_2".
Did you mean:
product2
2007 Feb 13
1
RJS specs
...troller
page.replace_html("product_info", :partial => @product_partial)
The partials in question will contain purely static content - the
idea is to have some dynamic links, so you hit
http://localhost:3000/gap/product_info/product_1
http://localhost:3000/gap/product_info/product_2
it will render _product_1.rhtml, _product_2.rhtml in a div etc.
Ideally I''d like to write something like:
page.should_receive(:replace_html).with("product_info", "product_1")
So far the best I can find is to add a div with a known id to each
partial and test l...