title: How do I access a helper method when I am running a test in rails?
body: <p>I am writing a test for my email service, inside my email template file I call a helper method called: <code>do_it</code>, which is defined inside <code>application_helper.rb</code></p>
  
  <p>However, when i run my tests they fail because the helper methods are not imported, I get the following exception:</p>
  
  <pre><code>NoMethodError: undefined method `do_it' 
  </code></pre>
  
  <p>Any idea / suggestions on how i can import helper methods into tests?</p>
  
  <p>I am using:</p>
  
  <pre><code>require 'test_helper'
  
  class NotifierTest &lt; ActionMailer::TestCase
  </code></pre>