From 9222ff952c0b558f2f234e367035f1728fdea4c9 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 14 Oct 2019 14:51:59 +0000 Subject: [PATCH] code cleanup: rubocop: fix Layout/EmptyLineBetweenDefs in test/functional/email_addresses_controller_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18658 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 1 - test/functional/email_addresses_controller_test.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 1c2f276bf..491a58827 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -137,7 +137,6 @@ Layout/EmptyLineBetweenDefs: - 'app/models/version.rb' - 'lib/redmine/info.rb' - 'lib/redmine/version.rb' - - 'test/functional/email_addresses_controller_test.rb' - 'test/functional/settings_controller_test.rb' - 'test/functional/users_controller_test.rb' - 'test/helpers/sort_helper_test.rb' diff --git a/test/functional/email_addresses_controller_test.rb b/test/functional/email_addresses_controller_test.rb index 954ba40cb..ac11ec383 100644 --- a/test/functional/email_addresses_controller_test.rb +++ b/test/functional/email_addresses_controller_test.rb @@ -187,7 +187,6 @@ class EmailAddressesControllerTest < Redmine::ControllerTest assert [mail.bcc, mail.cc].flatten.include?('another@somenet.foo') end - def test_destroy @request.session[:user_id] = 2 email = EmailAddress.create!(:user_id => 2, :address => 'another@somenet.foo')