summaryrefslogtreecommitdiffstats
path: root/test/functional/context_menus_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/context_menus_controller_test.rb')
-rw-r--r--test/functional/context_menus_controller_test.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/context_menus_controller_test.rb b/test/functional/context_menus_controller_test.rb
index 9eacdbba8..7f160881c 100644
--- a/test/functional/context_menus_controller_test.rb
+++ b/test/functional/context_menus_controller_test.rb
@@ -102,4 +102,10 @@ class ContextMenusControllerTest < ActionController::TestCase
:class => 'icon-del' }
end
+ def test_context_menu_issue_visibility
+ get :issues, :ids => [1, 4]
+ assert_response :success
+ assert_template 'context_menu'
+ assert_equal [1], assigns(:issues).collect(&:id)
+ end
end