FEATURE: show raw email for replies/topics created via email

This commit is contained in:
Arpit Jalan
2014-10-16 11:38:02 +05:30
parent ab9a0235b4
commit 2131a37811
13 changed files with 60 additions and 4 deletions

View File

@ -146,6 +146,7 @@ Pleasure to have you here!
topic.posts.count.should == (start_count + 1)
created_post = topic.posts.last
created_post.via_email.should == true
created_post.raw_email.should == fixture_file("emails/valid_reply.eml")
created_post.cooked.strip.should == fixture_file("emails/valid_reply.cooked").strip
end
end