[rspec-users] Helpers in view specs

David Chelimsky dchelimsky at gmail.com
Sun Feb 17 08:06:10 EST 2008

On Feb 17, 2008 1:08 AM, Steve <vertebrate at gmail.com> 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.


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

More information about the rspec-users mailing list