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')