Sha256: f44f18666d3126cc8bab0e38f13cb0cdfb42474a95605bad45f48b7325443faa
Contents?: true
Size: 449 Bytes
Versions: 12
Compression:
Stored size: 449 Bytes
Contents
FactoryGirl.define do factory :policy, :class => ::ForemanOpenscap::Policy do sequence(:name) { |n| "policy#{n}" } period 'weekly' weekday 'monday' scap_content { FactoryGirl.create(:scap_content) } scap_content_profile { FactoryGirl.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
12 entries across 12 versions & 1 rubygems