Fix broken specs (#18993)
This commit is contained in:
parent
0ac9852663
commit
0a5f1c12f7
1 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue