title: rspec testing request doesn't execute the controller/action
body: <p>I have this rspec test:</p>
  <pre><code>RSpec.describe 'Navbar', type: :request do
    describe 'GET /close_navbar' do
      it 'returns http success' do
        get '/close_navbar'
        expect(response).to have_http_status(:ok)
      end
    end
  end
  </code></pre>
  <p>testing a controller/action:</p>
  <pre><code>class Navbar &lt; ApplicationController
    def close_navbar
      raise 'closing'
      session[:navbar] = :closed
      head :ok
    end
  end
  </code></pre>
  <p>I need this to test that the session is updated with the proper value.</p>
  <p>but I don't think the action is being executed, in particular I added the <code>raise</code> line to see, and no exception is raised.</p>
  <p>also the test fails because the returned http status is <code>:found</code>, not <code>:ok</code></p>