title: Is there a log to see what rspec is actually doing when test are being run?
body: <p>So I'm trying to write some tests for my API</p>
  
  <p>I have this url
  /v1/users?api_key=1:--XsF99m7wcvFFzTt-Js</p>
  
  <p>which if I go to it in the browser works fine and a bit of JSON is returned.</p>
  
  <p>However, in my test is</p>
  
  <pre><code>require 'rails_helper'
  RSpec.describe "GET /users/index" do
  
    it 'returns a 200' do
      get "/v1/users?api_key=1:--XsF99m7wcvFFzTt-Js"
      expect(response.status).to eq(200)
    end
   end
  </code></pre>
  
  <p>and when I run the RSpec it give me this error</p>
  
  <pre><code>ActionView::MissingTemplate:
     Missing template v1/users/index, api_v1/index, application/index with {:locale=&gt;[:en], :formats=&gt;[:html], :variants=&gt;[], :handlers=&gt;[:erb, :builder, :raw, :ruby, :jbuilder]}. Searched in:
  </code></pre>
  
  <p>Which i don't understand why as if i paste the url into the browser it works fine.</p>
  
  <p>So firstly is there anything wrong with that respec test?
  Also in terms of debugging how are you meant to debug? As I can't see any log file like you would if you were doing it through the browser and would see development.log filling up</p>