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