title: Set form params in RSpec
body: <p>I want to test a create action where the user is authenticated via a remote API. Therefore, I do not have a user model. I have this in rspec:</p>
  
  <pre><code>describe "POST create" do 
    before { post :create, :user =&gt; {username: "john", password: "password"} }
    it { expect(response).to be_success }
  end
  </code></pre>
  
  <p>This does not work. I looked at this rspec docs but could not find anything. How do I resolve this?</p>