On Feb 17, 2008 1:08 AM, Steve <[EMAIL PROTECTED]> wrote:
> I'm not sure of what the community stance is on this, but is there a
> builtin way to include helpers in view specs? Is this practice shunned?
> My thoughts on the matter are that I expect my views to have a specific
> output, and sometimes it would be much easier to call the helper function
> in the view spec, so that that output could be expected. My helper
> functions all have their own specs, so it would seem that I'm not doing
> anything magical, just making the specs a little simpler.

http://rspec.info/rdoc-rails/classes/Spec/Rails/Example/ViewExampleGroup.html#M000037

>
> Steve
>
> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to