summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-10-29 14:06:15 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-10-29 14:06:15 +0000
commit18073c971e69fcfbfcafc8f2ec81768ea18220f8 (patch)
tree84b3ae221e6cbaae1d3253d397490f41a8b1a840 /test
parent7cce582c14a0022032cb33c60ad46715ec83af81 (diff)
downloadredmine-18073c971e69fcfbfcafc8f2ec81768ea18220f8.tar.gz
redmine-18073c971e69fcfbfcafc8f2ec81768ea18220f8.zip
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
Diffstat (limited to 'test')
-rw-r--r--test/functional/versions_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/versions_controller_test.rb b/test/functional/versions_controller_test.rb
index d794cf3e4..c2f054eee 100644
--- a/test/functional/versions_controller_test.rb
+++ b/test/functional/versions_controller_test.rb
@@ -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'