summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-19 18:37:52 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-19 18:37:52 +0000
commitdcc569fa34f7c961c2d2a5ba1f9da7b7a85b2f3b (patch)
tree291b5f8c010fc617610a0ffd6749039f3183c69f /test/unit/lib/redmine_test.rb
parent025e1bf7e13f175384c695dcca5c2af96bb0bc10 (diff)
downloadredmine-dcc569fa34f7c961c2d2a5ba1f9da7b7a85b2f3b.tar.gz
redmine-dcc569fa34f7c961c2d2a5ba1f9da7b7a85b2f3b.zip
Removed the "New issue" menu item (#6204).
git-svn-id: http://svn.redmine.org/redmine/trunk@15344 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/lib/redmine_test.rb')
-rw-r--r--test/unit/lib/redmine_test.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/unit/lib/redmine_test.rb b/test/unit/lib/redmine_test.rb
index 4329871df..b385d36a8 100644
--- a/test/unit/lib/redmine_test.rb
+++ b/test/unit/lib/redmine_test.rb
@@ -62,12 +62,11 @@ class RedmineTest < ActiveSupport::TestCase
end
def test_project_menu
- assert_number_of_items_in_menu :project_menu, 14
+ assert_number_of_items_in_menu :project_menu, 13
assert_menu_contains_item_named :project_menu, :overview
assert_menu_contains_item_named :project_menu, :activity
assert_menu_contains_item_named :project_menu, :roadmap
assert_menu_contains_item_named :project_menu, :issues
- assert_menu_contains_item_named :project_menu, :new_issue
assert_menu_contains_item_named :project_menu, :calendar
assert_menu_contains_item_named :project_menu, :gantt
assert_menu_contains_item_named :project_menu, :news
@@ -78,9 +77,4 @@ class RedmineTest < ActiveSupport::TestCase
assert_menu_contains_item_named :project_menu, :repository
assert_menu_contains_item_named :project_menu, :settings
end
-
- def test_new_issue_should_have_root_as_a_parent
- new_issue = get_menu_item(:project_menu, :new_issue)
- assert_equal :root, new_issue.parent.name
- end
end