Sha256: b7b772befaef1c6dd92b7b409939094bd746fde45552584ba8048e15e23f4ce0
Contents?: true
Size: 606 Bytes
Versions: 18
Compression:
Stored size: 606 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? && self.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
18 entries across 18 versions & 1 rubygems