mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
commit
379b810397
@ -120,9 +120,6 @@ describe UserNotifications do
|
|||||||
# subject should not include category name
|
# subject should not include category name
|
||||||
expect(mail.subject).not_to match(/Uncategorized/)
|
expect(mail.subject).not_to match(/Uncategorized/)
|
||||||
|
|
||||||
# subject should include "Re:"
|
|
||||||
expect(mail.subject).to match("Re:")
|
|
||||||
|
|
||||||
# 2 respond to links cause we have 1 context post
|
# 2 respond to links cause we have 1 context post
|
||||||
mail.html_part.to_s.scan(/To respond/).count.should == 2
|
mail.html_part.to_s.scan(/To respond/).count.should == 2
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user