Merge pull request #2853 from techAPJ/patch-3

FIX: fix broken test
This commit is contained in:
Robin Ward 2014-10-06 15:59:16 -04:00
commit 379b810397

View file

@ -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