aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/mime
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2016-08-07 11:48:29 +0200
committerGitHub <noreply@github.com>2016-08-07 11:48:29 +0200
commitfb98d2e57162876c0e1823a5357bc44a932d08b9 (patch)
tree2c3225f7698ef3f7b2556510136c64a58ecf7355 /actionpack/test/controller/mime
parent0d12708f3967fe93c172b30bd3e98e4433761c36 (diff)
parent762e3f05f3d372cb32570db0deeef27232c4dd00 (diff)
downloadrails-fb98d2e57162876c0e1823a5357bc44a932d08b9.tar.gz
rails-fb98d2e57162876c0e1823a5357bc44a932d08b9.tar.bz2
rails-fb98d2e57162876c0e1823a5357bc44a932d08b9.zip
Merge pull request #26077 from kamipo/add_stype_empty_lines
Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty lines
Diffstat (limited to 'actionpack/test/controller/mime')
-rw-r--r--actionpack/test/controller/mime/respond_to_test.rb2
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" }