Sha256: c4e3a23558ee3350461c9b6f4479d5b17171919807484b3215e78cde7fc5ec43

Contents?: true

Size: 280 Bytes

Versions: 4

Compression:

Stored size: 280 Bytes

Contents

FactoryGirl.define do
  factory :policy, :class => ::ForemanOpenscap::Policy do
    sequence(:name) { |n| "policy#{n}" }
    period 'weekly'
    weekday 'monday'
    scap_content
    scap_content_profile
    day_of_month nil
    cron_line nil
    hosts []
    assets []
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_openscap-0.6.3 test/factories/policy_factory.rb
foreman_openscap-0.6.2 test/factories/policy_factory.rb
foreman_openscap-0.6.1 test/factories/policy_factory.rb
foreman_openscap-0.6.0 test/factories/policy_factory.rb