Sha256: 749486cf3ce9aa84f684ee510ff782cb8aa01469417debe7f877fc61cb591c24

Contents?: true

Size: 254 Bytes

Versions: 2

Compression:

Stored size: 254 Bytes

Contents

FactoryGirl.define do
  factory :policy, :class => Scaptimony::Policy do
    sequence(:name) { |n| "policy#{n}" }
    period 'weekly'
    weekday 'monday'
    scap_content
    scap_content_profile
    day_of_month '1'
    cron_line '* * * * 30'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_openscap-0.4.3 test/factories/policy_factory.rb
foreman_openscap-0.4.2 test/factories/policy_factory.rb