Fixed broken context_menu on roadmap. #6351
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4082 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
f2a8057d63
commit
4b69a895df
|
@ -51,4 +51,4 @@
|
||||||
|
|
||||||
<% html_title(l(:label_roadmap)) %>
|
<% html_title(l(:label_roadmap)) %>
|
||||||
|
|
||||||
<%= context_menu :controller => 'issues', :action => 'context_menu' %>
|
<%= context_menu issues_context_menu_path %>
|
||||||
|
|
|
@ -40,6 +40,8 @@ class VersionsControllerTest < ActionController::TestCase
|
||||||
assert assigns(:versions).include?(Version.find(3))
|
assert assigns(:versions).include?(Version.find(3))
|
||||||
# Completed version doesn't appear
|
# Completed version doesn't appear
|
||||||
assert !assigns(:versions).include?(Version.find(1))
|
assert !assigns(:versions).include?(Version.find(1))
|
||||||
|
# Context menu on issues
|
||||||
|
assert_select "script", :text => Regexp.new(Regexp.escape("new ContextMenu('/issues/context_menu')"))
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_index_with_completed_versions
|
def test_index_with_completed_versions
|
||||||
|
|
Loading…
Reference in New Issue