Re: [rspec-users] rspec-orm and _not_ mocking models

2010-07-25 Thread Ashley Moran
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

Re: [rspec-users] rspec-orm and _not_ mocking models

2010-07-24 Thread Costa Shapiro
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

[rspec-users] rspec-orm and _not_ mocking models

2010-07-21 Thread Costa Shapiro
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