Sha256: a2525fbcd220dab5c0115318b74d010f989ca7b820f2efb0af89875cb2de381e

Contents?: true

Size: 275 Bytes

Versions: 3

Compression:

Stored size: 275 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 '1'
    cron_line '* * * * 30'
    hosts []
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreman_openscap-0.5.2 test/factories/policy_factory.rb
foreman_openscap-0.5.1 test/factories/policy_factory.rb
foreman_openscap-0.5.0 test/factories/policy_factory.rb