diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-02-12 20:44:15 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-02-12 20:44:15 +0900 |
commit | 16ee3ccc9c7992269e69e9e809257d56c81ce174 (patch) | |
tree | f9cc344c906515c62e872f06d9545acf5eaa7dd9 /actionpack | |
parent | 4fed08fa787a316fa51f14baca9eae11913f5050 (diff) | |
download | rails-16ee3ccc9c7992269e69e9e809257d56c81ce174.tar.gz rails-16ee3ccc9c7992269e69e9e809257d56c81ce174.tar.bz2 rails-16ee3ccc9c7992269e69e9e809257d56c81ce174.zip |
Add `Style/EmptyLinesAroundMethodBody` in `.rubocop.yml` and remove extra empty lines
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/test_case_test.rb | 1 | ||||
-rw-r--r-- | actionpack/test/dispatch/reloader_test.rb | 1 | ||||
-rw-r--r-- | actionpack/test/dispatch/runner_test.rb | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/actionpack/test/controller/test_case_test.rb b/actionpack/test/controller/test_case_test.rb index ac99830208..e084e45373 100644 --- a/actionpack/test/controller/test_case_test.rb +++ b/actionpack/test/controller/test_case_test.rb @@ -810,7 +810,6 @@ XML new_content_type = "new content_type" file.content_type = new_content_type assert_equal new_content_type, file.content_type - end def test_fixture_path_is_accessed_from_self_instead_of_active_support_test_case diff --git a/actionpack/test/dispatch/reloader_test.rb b/actionpack/test/dispatch/reloader_test.rb index 797430c85a..9eb78fe059 100644 --- a/actionpack/test/dispatch/reloader_test.rb +++ b/actionpack/test/dispatch/reloader_test.rb @@ -161,6 +161,5 @@ class ReloaderTest < ActiveSupport::TestCase reloader.check = check reloader end - end end diff --git a/actionpack/test/dispatch/runner_test.rb b/actionpack/test/dispatch/runner_test.rb index 969933c9ed..b76bf4a320 100644 --- a/actionpack/test/dispatch/runner_test.rb +++ b/actionpack/test/dispatch/runner_test.rb @@ -4,7 +4,6 @@ class RunnerTest < ActiveSupport::TestCase test "runner preserves the setting of integration_session" do runner = Class.new do def before_setup - end end.new |