Skip to content

Commit

Permalink
test: update test to match Redmine 5.1 implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
xel1045 committed Feb 23, 2024
1 parent bb56699 commit d6eb768
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/risks_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def test_get_preview_for_new_risk
}

assert_response :success
assert_match '<strong>Rhoncus turpis</strong> magnis blandit', @response.body
assert_match /<(em|strong)>Rhoncus turpis<\/\1> magnis blandit/, @response.body
end

def test_get_preview_for_existing_risk
Expand All @@ -164,7 +164,7 @@ def test_get_preview_for_existing_risk
}

assert_response :success
assert_match '<strong>Rhoncus turpis</strong> magnis blandit', @response.body
assert_match /<(em|strong)>Rhoncus turpis<\/\1> magnis blandit/, @response.body
end

def test_post_quoted
Expand Down

0 comments on commit d6eb768

Please sign in to comment.