diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 96fd25b4a..0ba5123e8 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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. diff --git a/test/unit/lib/redmine/menu_manager/mapper_test.rb b/test/unit/lib/redmine/menu_manager/mapper_test.rb index 04d649021..801479cd5 100644 --- a/test/unit/lib/redmine/menu_manager/mapper_test.rb +++ b/test/unit/lib/redmine/menu_manager/mapper_test.rb @@ -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