mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FEATURE: show raw email for replies/topics created via email
This commit is contained in:
parent
ab9a0235b4
commit
2131a37811
13 changed files with 60 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue