[rspec-users] Driving Out A View - Am I specifying too much?

Stephen Eley sfeley at gmail.com
Fri Jun 5 17:36:32 EDT 2009

On Fri, Jun 5, 2009 at 4:53 PM, Charlie Bowman<charlesmbowman at gmail.com> wrote:
> I never spec my views.  I also never put conditional logic in the views.  If
> you have links that should show up sometimes and not others why not just
> move that logic into a helper or other associated class and test the method?

Good point.  But if one is really being completionist, it still makes
sense to check that the view is calling that helper.

Have Fun,
   Steve Eley (sfeley at gmail.com)
   ESCAPE POD - The Science Fiction Podcast Magazine

More information about the rspec-users mailing list