FEATURE: Show an email icon beside posts that arrived via email

This commit is contained in:
Robin Ward
2014-09-04 13:04:22 -04:00
parent e182604c50
commit 1c5e8efa68
8 changed files with 29 additions and 4 deletions

View File

@@ -125,7 +125,9 @@ Thanks for listening."
receiver.process
topic.posts.count.should == (start_count + 1)
topic.posts.last.cooked.strip.should == fixture_file("emails/valid_reply.cooked").strip
created_post = topic.posts.last
created_post.via_email.should be_true
created_post.cooked.strip.should == fixture_file("emails/valid_reply.cooked").strip
end
end