mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
Better HTML emails, smarter email digests, new email section in admin with digest preview
This commit is contained in:
@ -31,7 +31,7 @@ describe UserNotifications do
|
||||
|
||||
context "with new topics" do
|
||||
before do
|
||||
Topic.expects(:new_topics).returns([Fabricate(:topic, user: Fabricate(:coding_horror))])
|
||||
Topic.expects(:for_digest).returns([Fabricate(:topic, user: Fabricate(:coding_horror))])
|
||||
end
|
||||
|
||||
its(:to) { should == [user.email] }
|
||||
|
Reference in New Issue
Block a user