summaryrefslogtreecommitdiffstats
path: root/test/functional/versions_controller_test.rb
diff options
context:
space:
mode:
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2010-09-11 14:00:23 +0000
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2010-09-11 14:00:23 +0000
commit4b69a895df5b2bd5838b3c1e277446dd1cbc5395 (patch)
treefe972ee7c23e9db0b8ec8d600000a65b27acada3 /test/functional/versions_controller_test.rb
parentf2a8057d635be2a844b00437cff6668fdd3e87a1 (diff)
downloadredmine-4b69a895df5b2bd5838b3c1e277446dd1cbc5395.tar.gz
redmine-4b69a895df5b2bd5838b3c1e277446dd1cbc5395.zip
Fixed broken context_menu on roadmap. #6351
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4082 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/versions_controller_test.rb')
-rw-r--r--test/functional/versions_controller_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/versions_controller_test.rb b/test/functional/versions_controller_test.rb
index 5fcb1d05a..f738794ae 100644
--- a/test/functional/versions_controller_test.rb
+++ b/test/functional/versions_controller_test.rb
@@ -40,6 +40,8 @@ class VersionsControllerTest < ActionController::TestCase
assert assigns(:versions).include?(Version.find(3))
# 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')"))
end
def test_index_with_completed_versions