method
non_kwarg_request_warning
v5.0.0.1 -
Show latest stable
- Class:
ActionDispatch::Integration::Session
non_kwarg_request_warning()private
No documentation available.
# File actionpack/lib/action_dispatch/testing/integration.rb, line 308
def non_kwarg_request_warning
ActiveSupport::Deprecation.warn( ActionDispatch::IntegrationTest HTTP request methods will accept only the following keyword arguments in future Rails versions: #{REQUEST_KWARGS.join(', ')} Examples: get '/profile', params: { id: 1 }, headers: { 'X-Extra-Header' => '123' }, env: { 'action_dispatch.custom' => 'custom' }, xhr: true, as: :json.strip_heredoc)
end