Sha256: 22aad667e644494641596e0825ea3429a4e4caf98a1a266e9c2d4df3f2438cd9
Contents?: true
Size: 712 Bytes
Versions: 32
Compression:
Stored size: 712 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :preupgrade_report do host reported_at { Time.now.utc } type { 'PreupgradeReport' } status { '0' } end factory :preupgrade_report_entry do host preupgrade_report sequence(:title) { |n| "Leap report entry title #{n}" } sequence(:actor) { |n| "leapp_actor#{n}" } hostname { host.name } audience { 'sys_admin' } severity { 'medium' } leapp_run_id { SecureRandom.hex(8) } tags { %w[tag1 tag2] } summary { '' } detail do { remediations: [{ type: 'hint', context: 'meh.' }, { type: 'command', context: ['yum', '-y', 'remove', 'leapp_pkg'] }] } end end end
Version data entries
32 entries across 32 versions & 1 rubygems