diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-08-07 17:50:59 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-08-07 17:50:59 +0900 |
commit | 762e3f05f3d372cb32570db0deeef27232c4dd00 (patch) | |
tree | 2c3225f7698ef3f7b2556510136c64a58ecf7355 /actionpack/test/controller/mime/respond_to_test.rb | |
parent | 0d12708f3967fe93c172b30bd3e98e4433761c36 (diff) | |
download | rails-762e3f05f3d372cb32570db0deeef27232c4dd00.tar.gz rails-762e3f05f3d372cb32570db0deeef27232c4dd00.tar.bz2 rails-762e3f05f3d372cb32570db0deeef27232c4dd00.zip |
Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty lines
Diffstat (limited to 'actionpack/test/controller/mime/respond_to_test.rb')
-rw-r--r-- | actionpack/test/controller/mime/respond_to_test.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/test/controller/mime/respond_to_test.rb b/actionpack/test/controller/mime/respond_to_test.rb index 26545686df..2b6d319999 100644 --- a/actionpack/test/controller/mime/respond_to_test.rb +++ b/actionpack/test/controller/mime/respond_to_test.rb @@ -51,7 +51,6 @@ class RespondToController < ActionController::Base end end - def forced_xml request.format = :xml @@ -109,7 +108,6 @@ class RespondToController < ActionController::Base end end - def custom_constant_handling respond_to do |type| type.html { render body: "HTML" } |