FIX: fix broken test

This commit is contained in:
Arpit Jalan 2014-10-07 01:23:39 +05:30
parent baee5c95ac
commit 20c2480eb3

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