Re: [rspec-users] Mocking a Model Class and a View with RSpec-Rails

2010-12-08 Thread Pat Maddox
On Dec 7, 2010, at 8:40 PM, Shea Levy wrote: > Hi all, > > I'm new to RSpec and to TDD/Agile methods in general (by "new" I mean I'm > about 4/5 of the way through The RSpec Book and haven't yet actually > implemented the practices in my projects), so this question may seem silly. > Suppose I'

[rspec-users] Mocking a Model Class and a View with RSpec-Rails

2010-12-07 Thread Shea Levy
Hi all, I'm new to RSpec and to TDD/Agile methods in general (by "new" I mean I'm about 4/5 of the way through _The RSpec Book_ and haven't yet actually implemented the practices in my projects), so this question may seem silly. Suppose I'm using specs to drive the development of a Users contro