Fix broken specs (#18993)

This commit is contained in:
Mac Siri 2023-01-23 23:05:42 -05:00 committed by GitHub
parent 0ac9852663
commit 0a5f1c12f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -231,7 +231,7 @@ RSpec.describe "NotificationsIndex" do
end
it "properly renders reactable titles" do
mock_heart_reaction_notifications(1, %w[unicorn like readinglist], special_characters_article)
mock_heart_reaction_notifications(1, %w[unicorn like], special_characters_article)
get "/notifications"
expect(response.body).to include ERB::Util.html_escape(special_characters_article.title)
end
@ -312,7 +312,7 @@ RSpec.describe "NotificationsIndex" do
end
it "properly renders reactable titles" do
mock_heart_reaction_notifications(1, %w[unicorn like readinglist], special_characters_article)
mock_heart_reaction_notifications(1, %w[unicorn like], special_characters_article)
get notifications_path(filter: :org, org_id: organization.id)
expect(response.body).to include(ERB::Util.html_escape(special_characters_article.title))