FEATURE: mailing list mode always available

This commit is contained in:
Sam
2014-03-05 14:21:53 +11:00
parent 69b498da24
commit adb6541635
9 changed files with 11 additions and 25 deletions
-1
View File
@@ -90,7 +90,6 @@ describe UserNotifications do
tu.last_emailed_post_number.should == response.post_number
# in mailing list mode user_replies is not sent through
SiteSetting.stubs(:enable_mailing_list_mode).returns(true)
response.user.mailing_list_mode = true
mail = UserNotifications.user_replied(response.user, post: response, notification: notification)
mail.class.should == ActionMailer::Base::NullMail