[rspec-users] Helpers in view specs
vertebrate at gmail.com
Sun Feb 17 01:08:36 EST 2008
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.
More information about the rspec-users