Topic: Making Rspec aware of helper_methods in controllers

I am having some trouble with trying to get Rspec to recognize helper_methods contained in controllers when testing views.

in my view, I have something like:

<%= sorted_by %>

While in my Controller I have:

helper_method :sorted_by
private
  def sorted_by
    .....
  end

When I try render the view with RSpec it says it does not recognise