On Sep 18, 2010, at 7:01 AM, Brennon Bortz wrote:
> I'm testing a view that renders a form to edit an object. I'd like to test
> that the form correctly populates the form with the object's attributes'
> current values. I tried several variations on mock_model and stub_model in
> order to mai
I'm testing a view that renders a form to edit an object. I'd like to test
that the form correctly populates the form with the object's attributes'
current values. I tried several variations on mock_model and stub_model in
order to maintain view/model separation--for instance:
require "spec_h