diff --git a/spec/lib/url_matcher_spec.rb b/spec/lib/url_matcher_spec.rb index 5401c7a1461..91848e2e96f 100644 --- a/spec/lib/url_matcher_spec.rb +++ b/spec/lib/url_matcher_spec.rb @@ -1,5 +1,4 @@ require 'katello_test_helper' -require 'katello/util/url_matcher' module Katello describe Util::URLMatcher do diff --git a/test/lib/concerns/base_template_scope_extensions_test.rb b/test/lib/concerns/base_template_scope_extensions_test.rb index 7072e61f830..d55c3235bae 100644 --- a/test/lib/concerns/base_template_scope_extensions_test.rb +++ b/test/lib/concerns/base_template_scope_extensions_test.rb @@ -1,6 +1,4 @@ require 'katello_test_helper' -require 'foreman/renderer' -require 'foreman/renderer/source/string' module Katello class BaseTemplateScopeExtensionsTest < ActiveSupport::TestCase diff --git a/test/lib/concerns/renderer_extensions_test.rb b/test/lib/concerns/renderer_extensions_test.rb index bfda8cf7ad3..0f7033267dd 100644 --- a/test/lib/concerns/renderer_extensions_test.rb +++ b/test/lib/concerns/renderer_extensions_test.rb @@ -1,5 +1,4 @@ require 'katello_test_helper' -require 'foreman/renderer/scope/provisioning' module Katello class RendererExtensionsTest < ActiveSupport::TestCase diff --git a/test/lib/resources/candlepin_test.rb b/test/lib/resources/candlepin_test.rb index b24021f6282..956d3a54186 100644 --- a/test/lib/resources/candlepin_test.rb +++ b/test/lib/resources/candlepin_test.rb @@ -1,5 +1,4 @@ require 'katello_test_helper' -require 'katello/resources/candlepin' module Katello module Resources diff --git a/test/services/katello/pulp3/repository_integration_test.rb b/test/services/katello/pulp3/repository_integration_test.rb index 81328dd5250..5ac44e073e3 100644 --- a/test/services/katello/pulp3/repository_integration_test.rb +++ b/test/services/katello/pulp3/repository_integration_test.rb @@ -1,6 +1,5 @@ require 'katello_test_helper' -require 'support/pulp3_support' -require 'katello/pulp3/repository' +require_relative '../../../support/pulp3_support.rb' types = Katello::RepositoryTypeManager.defined_repository_types types.slice!(ENV['TEST_CONTENT_TYPES'].split(',')) unless ENV['CONTENT_TYPES'].blank?