FIX: Update tests with new lib path

FIX: Update tests with new lib path

The referenced files were relocated in commit aed9d1e.

From 3e0c5cecf64d302af5a5be54f99826bb2bbad0ae Mon Sep 17 00:00:00 2001
From: Saj Goonatilleke <saj@discourse.org>
Date: Tue, 27 Nov 2018 16:08:33 +1100
Subject: [PATCH] FIX: Update tests with new lib path

The referenced files were relocated in commit aed9d1e.

diff --git a/spec/lib/discourse_mail_receiver_spec.rb b/spec/lib/discourse_mail_receiver_spec.rb
index 30bc551..9b0f1e1 100644
--- a/spec/lib/discourse_mail_receiver_spec.rb
+++ b/spec/lib/discourse_mail_receiver_spec.rb
@@ -1,4 +1,4 @@
-require_relative '../../lib/discourse_mail_receiver'
+require_relative '../../lib/mail_receiver/discourse_mail_receiver'
 
 RSpec.describe DiscourseMailReceiver do
 
diff --git a/spec/lib/fast_reject_spec.rb b/spec/lib/fast_reject_spec.rb
index 49d85ca..634d9b4 100644
--- a/spec/lib/fast_reject_spec.rb
+++ b/spec/lib/fast_reject_spec.rb
@@ -1,4 +1,4 @@
-require_relative '../../lib/fast_rejection'
+require_relative '../../lib/mail_receiver/fast_rejection'
 
 describe FastRejection do
 
diff --git a/spec/lib/mail_receiver_base_spec.rb b/spec/lib/mail_receiver_base_spec.rb
index dc66f8b..aa82be3 100644
--- a/spec/lib/mail_receiver_base_spec.rb
+++ b/spec/lib/mail_receiver_base_spec.rb
@@ -1,4 +1,4 @@
-require_relative '../../lib/discourse_mail_receiver'
+require_relative '../../lib/mail_receiver/discourse_mail_receiver'
 
 RSpec.describe MailReceiverBase do

GitHub

1 Like