FIX: respect RFCs when setting 'In-Reply-To' and 'References' email headers

This commit is contained in:
Régis Hanol
2016-11-25 23:25:39 +01:00
parent af4f2d000a
commit 74b6fe8739
2 changed files with 23 additions and 14 deletions

View File

@ -180,9 +180,6 @@ describe Email::Sender do
When { email_sender.send }
Then { expect(email_log.post_id).to eq(3344) }
Then { expect(email_log.topic_id).to eq(5577) }
Then { expect(message.header['In-Reply-To']).to be_present }
Then { expect(message.header['References']).to be_present }
end
context "email log with a reply key" do