title: uninitialized constant UsersController with devise and rspec
body: <p>I have configured a new rails 3 app, with devise and rspec. I have followed the devise wiki, and put </p>
  
  <pre><code>RSpec.configure do |config|
    config.include Devise::TestHelpers, :type =&gt; :controller
  end
  </code></pre>
  
  <p>in spec/spec_helper.rb. Anyways, when I try to run the controllers spec, I have the error :</p>
  
  <pre><code>spec/controllers/users_controller_spec.rb:3:in `&lt;top (required)&gt;': uninitialized constant UsersController (NameError)
  </code></pre>
  
  <p>Sounds like devise engine classes are not available in loadpath while testing. Any idea ?</p>