Sha256: d63331550171ebb1f06b04d3329dcd0fe3de83d0e4cb7847bf5309d9f724c91e

Contents?: true

Size: 446 Bytes

Versions: 18

Compression:

Stored size: 446 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 []
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
foreman_openscap-0.11.5 test/factories/policy_factory.rb
foreman_openscap-0.11.4 test/factories/policy_factory.rb
foreman_openscap-0.11.3 test/factories/policy_factory.rb
foreman_openscap-0.11.2 test/factories/policy_factory.rb
foreman_openscap-0.11.1 test/factories/policy_factory.rb
foreman_openscap-0.11.0 test/factories/policy_factory.rb
foreman_openscap-0.10.4 test/factories/policy_factory.rb
foreman_openscap-0.10.3 test/factories/policy_factory.rb
foreman_openscap-0.10.2 test/factories/policy_factory.rb
foreman_openscap-0.10.1 test/factories/policy_factory.rb
foreman_openscap-0.9.3 test/factories/policy_factory.rb
foreman_openscap-0.10.0 test/factories/policy_factory.rb
foreman_openscap-0.8.6 test/factories/policy_factory.rb
foreman_openscap-0.9.2 test/factories/policy_factory.rb
foreman_openscap-0.9.1 test/factories/policy_factory.rb
foreman_openscap-0.8.5 test/factories/policy_factory.rb
foreman_openscap-0.9.0 test/factories/policy_factory.rb
foreman_openscap-0.8.4 test/factories/policy_factory.rb