Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-08-20 22:34:45 +0300
committerDouwe Maan <douwe@gitlab.com>2015-08-20 22:34:45 +0300
commitac268674edfdaa5b8232f9875481410fc5112f60 (patch)
tree4e9c5269238ffa37d0c9df9b604b2aad372262bc /spec
parente1eb09dd0e376768eb73d660b64343d7b3ad8fad (diff)
Update spec.
Diffstat (limited to 'spec')
-rw-r--r--spec/workers/email_receiver_worker_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/workers/email_receiver_worker_spec.rb b/spec/workers/email_receiver_worker_spec.rb
index 109a7b3eb1d..e0081904db2 100644
--- a/spec/workers/email_receiver_worker_spec.rb
+++ b/spec/workers/email_receiver_worker_spec.rb
@@ -7,7 +7,7 @@ describe EmailReceiverWorker do
File.read(file_path)
end
- let(:raw_message) { fixture_file('emails/valid_incoming.eml') }
+ let(:raw_message) { fixture_file('emails/valid_reply.eml') }
context "when reply by email is enabled" do
before do
@@ -31,7 +31,7 @@ describe EmailReceiverWorker do
email = ActionMailer::Base.deliveries.last
expect(email).not_to be_nil
- expect(email.to).to eq(["from@example.com"])
+ expect(email.to).to eq(["jake@adventuretime.ooo"])
expect(email.subject).to include("Rejected")
end
end