title: Set Rspec default GET request format to JSON
body: <p>I am doing functional tests for my controllers with Rspec. I have set my default response format in my router to JSON, so every request without a suffix will return JSON.</p>
  
  <p>Now in rspec, i get an error (406) when i try</p>
  
  <pre><code>get :index
  </code></pre>
  
  <p>I need to do</p>
  
  <pre><code>get :index, :format =&gt; :json
  </code></pre>
  
  <p>Now because i am primarily supporting JSON with my API, it is very redundant having to specify the JSON format for every request.</p>
  
  <p>Can i somehow set it to default for all my GET requests? (or all requests)</p>