Skip to content

A platform for community discussion. Free, open, simple.

DEV: Move imap_helper to spec/support directory (#14776)

Jarek Radoszab374fff72e8
diff --git a/spec/components/imap/sync_spec.rb b/spec/components/imap/sync_spec.rb
index 04ee4eb3cde..3c494904bb2 100644
--- a/spec/components/imap/sync_spec.rb
+++ b/spec/components/imap/sync_spec.rb
@@ -2,7 +2,6 @@
require 'rails_helper'
require 'imap/sync'
-require_relative 'imap_helper'
describe Imap::Sync do
diff --git a/spec/models/group_spec.rb b/spec/models/group_spec.rb
index 7f4aed0a0d0..0bd4eff451b 100644
--- a/spec/models/group_spec.rb
+++ b/spec/models/group_spec.rb
@@ -1,7 +1,6 @@
# frozen_string_literal: true
require 'rails_helper'
-require_relative '../components/imap/imap_helper'
describe Group do
let(:admin) { Fabricate(:admin) }
diff --git a/spec/components/imap/imap_helper.rb b/spec/support/imap_helper.rb
similarity index 100%
rename from spec/components/imap/imap_helper.rb
rename to spec/support/imap_helper.rb