mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 21:16:18 +08:00
FIX: fix broken test
This commit is contained in:
parent
baee5c95ac
commit
20c2480eb3
|
@ -120,9 +120,6 @@ describe UserNotifications do
|
|||
# subject should not include category name
|
||||
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
|
||||
mail.html_part.to_s.scan(/To respond/).count.should == 2
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user