diff options
author | Go MAEDA <maeda@farend.jp> | 2024-08-12 09:05:31 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-08-12 09:05:31 +0000 |
commit | d7db0e479017e9272fb7d3f5affc0a08a39f9a41 (patch) | |
tree | 64488b1c4bfa45bcad348b67af2f4078f7f8f814 /test/unit | |
parent | 095cc967cc26f232e237c2effe3d86c0cedcfb57 (diff) | |
download | redmine-d7db0e479017e9272fb7d3f5affc0a08a39f9a41.tar.gz redmine-d7db0e479017e9272fb7d3f5affc0a08a39f9a41.zip |
Add missing assertion in Redmine::MenuManager::MapperTest#test_push_onto_root (#41142).
git-svn-id: https://svn.redmine.org/redmine/trunk@22956 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/lib/redmine/menu_manager/mapper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/lib/redmine/menu_manager/mapper_test.rb b/test/unit/lib/redmine/menu_manager/mapper_test.rb index 668c6b11b..c552db0fa 100644 --- a/test/unit/lib/redmine/menu_manager/mapper_test.rb +++ b/test/unit/lib/redmine/menu_manager/mapper_test.rb @@ -37,7 +37,7 @@ class Redmine::MenuManager::MapperTest < ActiveSupport::TestCase menu_mapper = Redmine::MenuManager::Mapper.new(:test_menu, {}) menu_mapper.push :test_overview, {:controller => 'projects', :action => 'show'}, {} - menu_mapper.exists?(:test_overview) + assert menu_mapper.exists?(:test_overview) end def test_push_onto_parent |