First Try: Include Post History (context) in Notification Emails

This commit is contained in:
Robin Ward
2013-07-22 15:06:37 -04:00
parent 112b9f9c2a
commit 3e7b418ea8
6 changed files with 57 additions and 13 deletions

View File

@ -91,7 +91,11 @@ describe UserNotifications do
end
it "has a message" do
expects_build_with(has_entry(:message, post.raw))
expects_build_with(has_key(:message))
end
it "has a context" do
expects_build_with(has_key(:context))
end
it "has an unsubscribe link" do