Fix flaky notifications_spec (#19215)

This commit is contained in:
Mac Siri 2023-03-10 06:59:30 -05:00 committed by GitHub
parent 22e8d802da
commit 45f25647ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -238,7 +238,7 @@ RSpec.describe "NotificationsIndex" do
it "properly renders reactable titles for multiple reactions" do
amount = rand(3..10)
mock_heart_reaction_notifications(amount, %w[unicorn like readinglist], special_characters_article)
mock_heart_reaction_notifications(amount, %w[unicorn like], special_characters_article)
get "/notifications"
expect(response.body).to include ERB::Util.html_escape(special_characters_article.title)
end