]> source.dussan.org Git - redmine.git/commitdiff
code cleanup: rubocop: fix Layout/BlockAlignment in test/unit/lib/redmine/menu_manage...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 15 Oct 2019 05:07:51 +0000 (05:07 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 15 Oct 2019 05:07:51 +0000 (05:07 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18677 e93f8b46-1217-0410-a6f0-8f06a7374b81

.rubocop_todo.yml
test/unit/lib/redmine/menu_manager/mapper_test.rb

index 96fd25b4ac507fa50959dd363ee177116b136a45..0ba5123e86d2395bb53a4f385bc65613921ed702 100644 (file)
@@ -57,7 +57,6 @@ Layout/BlockAlignment:
     - 'app/models/principal.rb'
     - 'app/models/project.rb'
     - 'app/models/time_entry.rb'
-    - 'test/unit/lib/redmine/menu_manager/mapper_test.rb'
     - 'test/unit/lib/redmine/menu_manager/menu_helper_test.rb'
 
 # Cop supports --auto-correct.
index 04d649021349dc5a07ba181a311f9ef5833872dc..801479cd5e980005ec9a0bf2e6779f19eea4e1de 100644 (file)
@@ -181,13 +181,12 @@ class Redmine::MenuManager::MapperTest < ActiveSupport::TestCase
       menu.push :administration, { :controller => 'projects', :action => 'show'}, {:last => true}
       menu.push :help, Redmine::Info.help_url, :last => true
     end
-
     assert_nothing_raised do
       Redmine::MenuManager.map :test_menu do |menu|
         menu.delete(:administration)
         menu.delete(:help)
         menu.push :test_overview, { :controller => 'projects', :action => 'show'}, {}
-     end
+      end
     end
   end
 end