summaryrefslogtreecommitdiff
path: root/spec/workers
diff options
context:
space:
mode:
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