Adapt test to new jQuery context menu
jQuery context menu introduced in 1b7ddb3cd7
This commit is contained in:
parent
7b3280e5ad
commit
dafe09ee32
|
@ -38,7 +38,7 @@ class VersionsControllerTest < ActionController::TestCase
|
|||
# Completed version doesn't appear
|
||||
assert !assigns(:versions).include?(Version.find(1))
|
||||
# Context menu on issues
|
||||
assert_select "script", :text => Regexp.new(Regexp.escape("new ContextMenu('/issues/context_menu')"))
|
||||
assert_select "script", :text => Regexp.new(Regexp.escape("jQuery(document).ContextMenu('/issues/context_menu')"))
|
||||
end
|
||||
|
||||
def test_index_with_completed_versions
|
||||
|
|
Loading…
Reference in New Issue