[rspec-users] Working outside-in with Cucumber and RSpec

Nick Hoffman nick at deadorange.com
Fri Oct 31 16:54:42 EDT 2008

On 2008-10-30, at 15:31, Pat Maddox wrote:
> eh I dunno.  I mean, I completely agree that hard-to-write tests often
> expose bad code.  But there isn't any gray area when it comes to
> designing Rails controllers, in my opinion.  I see an action that's  
> more
> than five lines long and I know it's wrong.  I don't need to write
> examples to tell me that.

Hi Pat. Would you mind suggesting how I can make this 22-line action a  
bit shorter?  =)


More information about the rspec-users mailing list