Sha256: b6e3537cce6f4fc671dce3f72f2b403b53845561b2a901cf707963a5f4354c5f
Contents?: true
Size: 505 Bytes
Versions: 51
Compression:
Stored size: 505 Bytes
Contents
FactoryBot.define do factory :policy, :class => ::ForemanOpenscap::Policy do sequence(:name) { |n| "policy#{n}" } period { 'weekly' } weekday { 'monday' } scap_content { FactoryBot.create(:scap_content) } scap_content_profile { FactoryBot.create(:scap_content_profile, :scap_content => scap_content) } tailoring_file { nil } tailoring_file_profile { nil } day_of_month { nil } cron_line { nil } hosts { [] } assets { [] } deploy_by { 'manual' } end end
Version data entries
51 entries across 51 versions & 1 rubygems