With helper specs I just included them in the describe. But with view specs
you can also explicitly call a helper on render:
render ''/test/test.erb'', :helper =>
SimplyHelpful::RecordIdentificationHelper
On 4/20/07, Jeff Dean <jeff at jefdean.com> wrote:>
> Does anyone have view specs running on edge with simply_helpful?
>
> I tried
http://blog.methodmissing.com/2006/11/23/using-simply_helpful-with-rspec-controller-tests/
> but it seems that was written for pre-9 versions.
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/rspec-users/attachments/20070420/5dcbfb62/attachment-0001.html