summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/attachments_controller_test.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/attachments_controller_test.rb b/test/functional/attachments_controller_test.rb
index 3eba761ae..1e8f368f4 100644
--- a/test/functional/attachments_controller_test.rb
+++ b/test/functional/attachments_controller_test.rb
@@ -272,6 +272,14 @@ class AttachmentsControllerTest < Redmine::ControllerTest
assert_response 403
end
+ def test_show_issue_attachment_should_highlight_issues_menu_item
+ get :show, :params => {
+ :id => 4
+ }
+ assert_response :success
+ assert_select '#main-menu a.issues.selected'
+ end
+
def test_show_invalid_should_respond_with_404
get :show, :params => {
:id => 999