Script for http request syntax in rails 5?

I don't suppose anyone has written a script to update the http request
syntax to that required in rails 5 have they? The old format is
deprected in 5.0 but will presumably be removed in rails 5.1. The
warning is

DEPRECATION WARNING: ActionController::TestCase HTTP request methods
will accept only keyword arguments in future Rails versions.


get :show, params: { id: 1 }, session: { user_id: 1 }
process :update, method: :post, params: { id: 1 }

I have many hundreds of tests that will need updating and suspect that
a script that would work for the vast majority of the tests could
fairly easily be written. No point re-inventing the wheel though so
am hoping someone has already done this.