summaryrefslogtreecommitdiff
path: root/spec/workers
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-08-20 12:34:45 -0700
committerDouwe Maan <douwe@gitlab.com>2015-08-20 12:34:45 -0700
commitac268674edfdaa5b8232f9875481410fc5112f60 (patch)
tree4e9c5269238ffa37d0c9df9b604b2aad372262bc /spec/workers
parente1eb09dd0e376768eb73d660b64343d7b3ad8fad (diff)
downloadgitlab-ce-ac268674edfdaa5b8232f9875481410fc5112f60.tar.gz
Update spec.
Diffstat (limited to 'spec/workers')
-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