summaryrefslogtreecommitdiffstats
path: root/test/functional/issues_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/issues_controller_test.rb')
-rw-r--r--test/functional/issues_controller_test.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb
index fbe512122..643345eac 100644
--- a/test/functional/issues_controller_test.rb
+++ b/test/functional/issues_controller_test.rb
@@ -5993,7 +5993,10 @@ class IssuesControllerTest < Redmine::ControllerTest
assert_response :success
reason = l(:notice_issue_not_closable_by_blocking_issue)
- assert_select 'span.icon-warning[title=?]', reason, :text => reason
+ assert_select 'span.icon-warning[title=?]', reason do
+ assert_select "svg.icon-svg use:match('href', ?)", /assets\/icons-\w+.svg#icon--warning/
+ assert_select 'span.icon-label', test: reason
+ end
end
def test_get_edit_should_display_visible_spent_time_custom_field