scottohara / loot

An implementation of some of the core MS Money features in Ruby on Rails
MIT License
4 stars 3 forks source link

rails-controller-testing deprecation warnings #178

Closed scottohara closed 3 years ago

scottohara commented 4 years ago

https://github.com/rails/rails-controller-testing/pull/51

(Waiting for new gem version to be published)

AccountsController
  GET index
    for account list
/Users/scotto/GitHub/loot/vendor/bundle/ruby/2.7.0/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/scotto/GitHub/loot/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3/lib/action_controller/test_case.rb:394: warning: The called method `get' is defined here
/Users/scotto/GitHub/loot/vendor/bundle/ruby/2.7.0/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/template_assertions.rb:61: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/scotto/GitHub/loot/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3/lib/action_controller/test_case.rb:460: warning: The called method `process' is defined here
      should return the account list including balances
    for account typeahead
      should return the account list without balances
  GET show
    should return the details of the specified account
  POST create
/Users/scotto/GitHub/loot/vendor/bundle/ruby/2.7.0/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/scotto/GitHub/loot/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3/lib/action_controller/test_case.rb:402: warning: The called method `post' is defined here
    should create a new account and return the details
  PATCH update
/Users/scotto/GitHub/loot/vendor/bundle/ruby/2.7.0/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/scotto/GitHub/loot/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3/lib/action_controller/test_case.rb:408: warning: The called method `patch' is defined here
    should update an existing account and return the details
  DELETE destroy
/Users/scotto/GitHub/loot/vendor/bundle/ruby/2.7.0/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/scotto/GitHub/loot/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3/lib/action_controller/test_case.rb:420: warning: The called method `delete' is defined here
    should delete an existing account
  PUT reconcile
/Users/scotto/GitHub/loot/vendor/bundle/ruby/2.7.0/gems/rails-controller-testing-1.0.4/lib/rails/controller/testing/integration.rb:13: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/Users/scotto/GitHub/loot/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3/lib/action_controller/test_case.rb:414: warning: The called method `put' is defined here
    should return the details of the specified account