Sha256: ce088c0ebf830277b81066933342d6cb0b7e38ab8ae70901252655ca754f95a0
Contents?: true
Size: 601 Bytes
Versions: 60
Compression:
Stored size: 601 Bytes
Contents
module ForemanTasks module TestExtensions module AccessPermissionsTestExtension def setup super if defined?(AccessPermissionsTest) && self.class == AccessPermissionsTest test_name = @method_name || @NAME # for compatibility with Foreman 1.10 test_name = __name__ if test_name.nil? && respond_to?(:__name__) skip 'used by proxy only' if test_name.include?('foreman_tasks/api/tasks/callback') end end end end end ActiveSupport::TestCase.send(:include, ForemanTasks::TestExtensions::AccessPermissionsTestExtension)
Version data entries
60 entries across 60 versions & 1 rubygems