Skip to content

Instantly share code, notes, and snippets.



Created Jul 6, 2018
What would you like to do?
Rails4からRails5へのテストケースでキーワード引数を機械的に一括変換する。 ref:
post url, hoge: 'foo'
post url, params: { hoge: 'foo' }
$ bundle install --path vendor/bundle
$ bundle exec rails5-spec-converter
+ gem 'rails5-spec-converter'
get :index
params: {
search: 'bayleef'
format: :json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.