diff options
author | jomo <github@jomo.tv> | 2015-02-08 01:47:20 +0100 |
---|---|---|
committer | jomo <github@jomo.tv> | 2015-02-08 01:47:20 +0100 |
commit | 61f51666fb7df03f4405f987a4e01ad5d9cd2fee (patch) | |
tree | 283feb76ffbdbf2e847355f40f2a68bb16791bcd /test | |
parent | 8af9d9922bf0037cf3d608c1803e4e83555c879b (diff) |
remove thread mention mail, use reply mail instead
Diffstat (limited to 'test')
-rw-r--r-- | test/mailers/previews/all_preview.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/mailers/previews/all_preview.rb b/test/mailers/previews/all_preview.rb index 2af99f0..83c0379 100644 --- a/test/mailers/previews/all_preview.rb +++ b/test/mailers/previews/all_preview.rb @@ -29,12 +29,6 @@ class AllPreview < ActionMailer::Preview RedstonerMailer.new_thread_reply_mail(@@user, reply) end - def new_thread_reply_mention_mail - thread = Forumthread.new(id: 123, user_author: @@op, title: "Wow, test thread!", content: "You should not see this...") - reply = Threadreply.new(id: 312, user_author: @@user, content: "# Markdown!\n\n@mention\n`incline code`\n\n<b>html?</b>\n\n[yt:abcd1234]\n\n[link](/forums)", forumthread: thread) - RedstonerMailer.new_thread_reply_mention_mail(@@user, reply) - end - def new_post_mention_mail post = Blogpost.new(id: 123, user_author: @@op, title: "Wow, test post!", content: "@mention Wow, that is **cool**!") RedstonerMailer.new_post_mention_mail(@@user, post) |