mirror of
https://github.com/redmine/redmine.git
synced 2026-05-06 20:36:53 +02:00
Fix RuboCop offense Layout/EmptyLinesAroundMethodBody, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22950 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -113,7 +113,6 @@ class JournalsControllerTest < Redmine::ControllerTest
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
def test_diff_for_description_change
|
||||
|
||||
@@ -962,7 +962,6 @@ class UsersControllerTest < Redmine::ControllerTest
|
||||
ActionMailer::Base.deliveries.clear
|
||||
delete :destroy, :params => {:id => 1, :confirm => User.find(1).login}
|
||||
assert_nil ActionMailer::Base.deliveries.last
|
||||
|
||||
end
|
||||
|
||||
def test_update_unlock_admin_should_send_security_notification
|
||||
|
||||
@@ -293,7 +293,6 @@ class AccountTest < Redmine::IntegrationTest
|
||||
|
||||
assert_equal false, User.find_by_login('jsmith').must_change_passwd?
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
def test_register_with_automatic_activation
|
||||
|
||||
@@ -80,7 +80,6 @@ class AttachmentTest < ActiveSupport::TestCase
|
||||
end
|
||||
|
||||
def test_copy_should_preserve_attributes
|
||||
|
||||
# prevent re-use of data from other attachments with equal contents
|
||||
Attachment.where('id <> 1').destroy_all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user