mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
removes whitespaces and uses scope
This commit is contained in:
@ -399,18 +399,18 @@ describe Email::Receiver do
|
||||
it "accepts emails with wrong reply key if the system knows about the forwareded email" do
|
||||
Fabricate(:incoming_email,
|
||||
raw: <<~RAW,
|
||||
Return-Path: <discourse@bar.com>
|
||||
From: Alice <discourse@bar.com>
|
||||
To: dave@bar.com, reply+4f97315cc828096c9cb34c6f1a0d6fe8@bar.com
|
||||
CC: carol@bar.com, bob@bar.com
|
||||
Subject: Hello world
|
||||
Date: Fri, 15 Jan 2016 00:12:43 +0100
|
||||
Message-ID: <10@foo.bar.mail>
|
||||
Mime-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
Return-Path: <discourse@bar.com>
|
||||
From: Alice <discourse@bar.com>
|
||||
To: dave@bar.com, reply+4f97315cc828096c9cb34c6f1a0d6fe8@bar.com
|
||||
CC: carol@bar.com, bob@bar.com
|
||||
Subject: Hello world
|
||||
Date: Fri, 15 Jan 2016 00:12:43 +0100
|
||||
Message-ID: <10@foo.bar.mail>
|
||||
Mime-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: quoted-printable
|
||||
|
||||
This post was created by email.
|
||||
This post was created by email.
|
||||
RAW
|
||||
from_address: "discourse@bar.com",
|
||||
to_addresses: "dave@bar.com;reply+4f97315cc828096c9cb34c6f1a0d6fe8@bar.com",
|
||||
|
Reference in New Issue
Block a user