From ab374fff72e82a966745cffa0434f1d1b18fd46d Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Fri, 29 Oct 2021 20:46:25 +0200 Subject: [PATCH] DEV: Move imap_helper to spec/support directory (#14776) --- spec/components/imap/sync_spec.rb | 1 - spec/models/group_spec.rb | 1 - spec/{components/imap => support}/imap_helper.rb | 0 3 files changed, 2 deletions(-) rename spec/{components/imap => support}/imap_helper.rb (100%) 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