Better HTML emails, smarter email digests, new email section in admin with digest preview

This commit is contained in:
Robin Ward
2013-06-03 16:12:24 -04:00
parent f030d9b420
commit 0b97ea6345
69 changed files with 552 additions and 443 deletions

View File

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