On Apr 11, 2008, at 10:56 AM, Eric Smith wrote:
> Hello all. I have a quick mock_model question. Is there a way to
> use it when doing ActiveRecord testing outside of rails?
Right now you can't because it's defined in the RailsExampleGroup. Why
don't you put in a feature request to have it e
Hello all. I have a quick mock_model question. Is there a way to
use it when doing ActiveRecord testing outside of rails? What I want
to be able to do with my ActiveRecord is this:
class Child
belongs_to :parent
end
child.parent = mock_model(Parent)
Now in rails I can do this, be