small medium large xlarge

Generic-user-small
15 Aug 2008, 08:42
Ng Tze Yang (2 posts)

I like the idea of relocating execessive code from controller to a presenter. But i’ve been wondering how do we go abt writng the specs for the presenter. http://rspec.info/documentation/rails/ only mentions abt specs writing for models, controllers, views, helpers and integration. The fact that i’ve failed to write any specs for my presenters kept making me feel like a sinner :(

You must be logged in to comment