title: Is it possible to specify a user agent in a rails integration test or spec?
body: <p>I was doing this before in a rails 2 app in a <code>ActionController::IntegrationTest</code> with</p>
  
  <pre><code>get '/', {}, {:user_agent =&gt; "Googlebot"}
  </code></pre>
  
  <p>but this seems to not work anymore in Rails 3.</p>
  
  <p>What should I do?</p>