How can I test a helper method living in app/helpers/application_helper.rb?
I have this code in my file test/unit/helpers/application_helper_test.rb
require 'test_helper'
class ApplicationHelperTest < ActionView::TestCase
test "category" do
assert categories_collection
end
end
But I get this error "NameError: undefined local variable or method `categories_collection'"