diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-08-20 12:34:45 -0700 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-08-20 12:34:45 -0700 |
commit | ac268674edfdaa5b8232f9875481410fc5112f60 (patch) | |
tree | 4e9c5269238ffa37d0c9df9b604b2aad372262bc | |
parent | e1eb09dd0e376768eb73d660b64343d7b3ad8fad (diff) | |
download | gitlab-ce-ac268674edfdaa5b8232f9875481410fc5112f60.tar.gz |
Update spec.
-rw-r--r-- | spec/workers/email_receiver_worker_spec.rb | 4 |
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 |