On 21 Jul 2010, at 10:28 PM, Costa Shapiro wrote:
> (Surprisingly?) I find mocking AR (DM less so) in specs extremely tedious
> _and_ intrusive.
Yeah, I know what you mean, I just don't do it any more. I find the pain isn't
worth it on the stuff I do.
> I think the README there pretty much c
I'm sorry, I'd like to clarify my statement about the model, view and
controller (spec) separation.
From my perspective, model is an abstract definition which is a spec
for itself; view interacts with controller under the model contract,
and all the "model" code is actually low-level controller co
Hello,
(Surprisingly?) I find mocking AR (DM less so) in specs extremely tedious
_and_ intrusive.
Having said this, I find the approach of top-down VCM speccing very
legitimate (cucumber for V, rspec for C, and probably unit tests for M).
That is, a model is an inherent though separate part of th