[rspec-users] mocking out helper method in a view spec

Kyle Hargraves philodespotos at gmail.com
Thu May 24 15:13:51 EDT 2007


You can stub/mock methods on @controller.template.

Kyle

On 5/24/07, Joe Van Dyk <joevandyk at gmail.com> wrote:
> Hi,
>
> How can I mock or stub out a helper method that's being called in a
> view that's described by a view spec?
>
> Joe
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list