- put :update,
- :params => { :display_name => user.display_name,
- :id => client.id,
- :client_application => { :name => "New Name", :url => "http://new.example.com/url" } },
- :session => { :user => user }
- assert_response :redirect
+ put oauth_client_path(user, client, :client_application => { :name => "New Name", :url => "http://new.example.com/url" })