title: passing params to update action rspec rails tests
body: <p>Passing params in this way returns the same information as it was before updates. </p>
  
  <pre><code>it "PUT Update updates client" do 
      client = FactoryGirl.create(:client)
      put :update, :id =&gt; client, :client =&gt; { :name =&gt; "Rostyk", :email =&gt; "new@email.com" }
      expect(client.email).to eq("new@email.com")
      expect(client.name).to eq("Rostyk")
  end
  </code></pre>