diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-06-13 18:36:23 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-13 18:36:23 +0900 |
commit | 98a57aa5f610bc66af31af409c72173cdeeb3c9e (patch) | |
tree | 77365fa7eab9725d5ca185ae3df03508898596f5 /actionview/test/actionpack/abstract/abstract_controller_test.rb | |
parent | c5ecc338e863e771adcbcd87d5c23ae5e7ca7894 (diff) | |
parent | c81af6ae723ccfcd601032167d7b7f57c5449c33 (diff) | |
download | rails-98a57aa5f610bc66af31af409c72173cdeeb3c9e.tar.gz rails-98a57aa5f610bc66af31af409c72173cdeeb3c9e.tar.bz2 rails-98a57aa5f610bc66af31af409c72173cdeeb3c9e.zip |
Merge pull request #36472 from kamipo/empty_line_only_before_access_modifier
Enable `Layout/EmptyLinesAroundAccessModifier` cop
Diffstat (limited to 'actionview/test/actionpack/abstract/abstract_controller_test.rb')
-rw-r--r-- | actionview/test/actionpack/abstract/abstract_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/actionpack/abstract/abstract_controller_test.rb b/actionview/test/actionpack/abstract/abstract_controller_test.rb index eecc19d413..2de81596b5 100644 --- a/actionview/test/actionpack/abstract/abstract_controller_test.rb +++ b/actionview/test/actionpack/abstract/abstract_controller_test.rb @@ -230,6 +230,7 @@ module AbstractController class ActionMissingRespondToActionController < AbstractController::Base # No actions + private def action_missing(action_name) self.response_body = "success" @@ -242,7 +243,6 @@ module AbstractController def fail() self.response_body = "fail" end private - def method_for_action(action_name) action_name.to_s != "fail" && action_name end |