Rspec 3.6, Rails 5 error: wrong number of arguments (given 2, expected 1) for `post` request : <p>I just started a new project in Rails 5, (my first, though I have several projects in Rails 4.x.) and am having trouble with controller specs. </p>

<pre><code>describe RequestsController, :type =&gt; :controller do

  it "receives new request" do
    post :accept_request, my_params
  end

end
</code></pre>

<p>Returns the error: </p>

<pre><code> Failure/Error: post :accept_request, my_params

 ArgumentError:
   wrong number of arguments (given 2, expected 1)
</code></pre>

<p>I understand there has been a shift in the preferred testing strategy for controllers with Rails 5 as noted on <a href="https://everydayrails.com/2016/08/29/replace-rspec-controller-tests.html" rel="noreferrer">Everyday Rails</a>, specifically, shifting controller tests into request specs, but no word on changes to this basic method of controller testing. </p>
