diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-09-21 09:46:47 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-09-21 10:35:37 +0200 |
commit | ee028d9d60522f8993a0b2429ac8a0631d59229a (patch) | |
tree | 5e028593ff4394df287de8f61824c8d004a81688 /spec/workers | |
parent | 11bbc06b4bbcb678f3ee6b8f1d143ed86d25a76c (diff) | |
download | gitlab-ce-ee028d9d60522f8993a0b2429ac8a0631d59229a.tar.gz |
Rename reply_by_email to incoming_email to prepare for the future.
Diffstat (limited to 'spec/workers')
-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 e8f1bd2fa2f..65a8d7d9197 100644 --- a/spec/workers/email_receiver_worker_spec.rb +++ b/spec/workers/email_receiver_worker_spec.rb @@ -5,7 +5,7 @@ describe EmailReceiverWorker do context "when reply by email is enabled" do before do - allow(Gitlab::ReplyByEmail).to receive(:enabled?).and_return(true) + allow(Gitlab::IncomingEmail).to receive(:enabled?).and_return(true) end it "calls the email receiver" do @@ -33,7 +33,7 @@ describe EmailReceiverWorker do context "when reply by email is disabled" do before do - allow(Gitlab::ReplyByEmail).to receive(:enabled?).and_return(false) + allow(Gitlab::IncomingEmail).to receive(:enabled?).and_return(false) end it "doesn't call the email receiver" do |