params.require(:user)
requires there to be a :user =>
param at the root of the parameters hash.
Try this:
patch_via_redirect user_url(user), { user: {
email: 'patch@it.man',
name: 'Patch!',
password: 'qwerty',
password_confirmation: 'qwerty'
} }
Terrible formatting, but should get the point across.