# frozen_string_literal: true # This calls the main test_helper in Foreman-core require 'test_helper' # require "#{Katello::Engine.root}/test/katello_test_helper" require 'foreman_tasks/test_helpers' module SignInHelper def sign_in_as(user) post sign_in_url(username: user.login, password: user.password) end end module ActionDispatch class IntegrationTest include SignInHelper end end