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

Version Path
foreman_openscap-5.0.0 test/factories/policy_factory.rb
foreman_openscap-4.3.3 test/factories/policy_factory.rb
foreman_openscap-4.3.2 test/factories/policy_factory.rb
foreman_openscap-4.3.1 test/factories/policy_factory.rb
foreman_openscap-4.3.0 test/factories/policy_factory.rb
foreman_openscap-4.1.3 test/factories/policy_factory.rb
foreman_openscap-4.0.6 test/factories/policy_factory.rb
foreman_openscap-4.2.0 test/factories/policy_factory.rb
foreman_openscap-4.0.5 test/factories/policy_factory.rb
foreman_openscap-4.1.2 test/factories/policy_factory.rb
foreman_openscap-4.1.1 test/factories/policy_factory.rb
foreman_openscap-4.1.0 test/factories/policy_factory.rb
foreman_openscap-4.0.4 test/factories/policy_factory.rb
foreman_openscap-4.0.3 test/factories/policy_factory.rb
foreman_openscap-4.0.2 test/factories/policy_factory.rb
foreman_openscap-4.0.1 test/factories/policy_factory.rb
foreman_openscap-3.0.1 test/factories/policy_factory.rb
foreman_openscap-4.0.0 test/factories/policy_factory.rb
foreman_openscap-3.0.0 test/factories/policy_factory.rb
foreman_openscap-2.0.2 test/factories/policy_factory.rb