diff options
author | Vipul A M <vipulnsward@gmail.com> | 2016-04-10 19:48:06 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2016-04-12 02:26:56 +0530 |
commit | ac027338e4a165273607dccee49a3d38bc836794 (patch) | |
tree | a4020eb05b843887f73acb0ada519c9605dcf5e1 /actionpack/lib/action_dispatch/testing/integration.rb | |
parent | 35b19cd1eb95ca0419e1be879fbadf92948369d7 (diff) | |
download | rails-ac027338e4a165273607dccee49a3d38bc836794.tar.gz rails-ac027338e4a165273607dccee49a3d38bc836794.tar.bz2 rails-ac027338e4a165273607dccee49a3d38bc836794.zip |
Pass over all Rails 5 warnings, to make sure:
- we are ending sentences properly
- fixing of space issues
- fixed continuity issues in some sentences.
Reverts https://github.com/rails/rails/commit/8fc97d198ef31c1d7a4b9b849b96fc08a667fb02 .
This change reverts making sure we add '.' at end of deprecation sentences.
This is to keep sentences within Rails itself consistent and with a '.' at the end.
Diffstat (limited to 'actionpack/lib/action_dispatch/testing/integration.rb')
-rw-r--r-- | actionpack/lib/action_dispatch/testing/integration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb index 60c562d7cd..69ae5a8468 100644 --- a/actionpack/lib/action_dispatch/testing/integration.rb +++ b/actionpack/lib/action_dispatch/testing/integration.rb @@ -95,7 +95,7 @@ module ActionDispatch ActiveSupport::Deprecation.warn(<<-MSG.strip_heredoc) xhr and xml_http_request methods are deprecated in favor of - `get "/posts", xhr: true` and `post "/posts/1", xhr: true` + `get "/posts", xhr: true` and `post "/posts/1", xhr: true`. MSG process(request_method, path, params: params, headers: headers, xhr: true) |