mirror of
https://github.com/redmine/redmine.git
synced 2025-11-18 03:00:52 +01:00
Don't use a global variable for storing context menu URL.
git-svn-id: http://svn.redmine.org/redmine/trunk@15936 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -36,7 +36,7 @@ class VersionsControllerTest < Redmine::ControllerTest
|
||||
assert_select 'h3', :text => Version.find(1).name, :count => 0
|
||||
|
||||
# Context menu on issues
|
||||
assert_select "script", :text => Regexp.new(Regexp.escape("contextMenuInit('/issues/context_menu')"))
|
||||
assert_select "form[data-cm-url=?]", '/issues/context_menu'
|
||||
assert_select "div#sidebar" do
|
||||
# Links to versions anchors
|
||||
assert_select 'a[href=?]', '#2.0'
|
||||
|
||||
Reference in New Issue
Block a user