title: How to include Rails Helpers on RSpec
body: <p>I'm trying to include some helpers to test with rspec but no luck.</p>
  
  <p>What I did:</p>
  
  <p>created a <code>support/helpers.rb</code> file under my <code>spec</code> folder.</p>
  
  <p><strong>support/helpers.rb</strong></p>
  
  <pre><code>module Helpers
    include ActionView::Helpers::NumberHelper
    include ActionView::Helpers::TextHelper
  end
  </code></pre>
  
  <p>and tried to require this file in <code>spec_helper.rb</code>.</p>
  
  <pre><code># This file is copied to spec/ when you run 'rails generate rspec:install'
  require 'rubygems'
  require 'spork'
  require 'support/helpers'
  
  Spork.prefork do
  .
  .
  end
  </code></pre>
  
  <p>this generates the following error:</p>
  
  <pre><code>/spec/support/helpers.rb:2:in `&lt;module:Helpers&gt;': uninitialized constant Helpers::ActionView (NameError)
  </code></pre>
  
  <p>How should I do this helpers to be available with Rspec?</p>
  
  <p>Thanks.</p>