Sha256: 4b9a9127f2c84149ed5e436373cb3f34be848c7975160b7be2d78f3931ba5845
Contents?: true
Size: 376 Bytes
Versions: 7
Compression:
Stored size: 376 Bytes
Contents
FactoryGirl.define do factory :discovery_rule do sequence(:name) { |n| "rule#{n}" } sequence(:priority) { |n| n } search "facts.fact1 == 'value1'" hostname "" hostgroup max_count 0 enabled true organizations { [organization_one] } if SETTINGS[:organizations_enabled] locations { [location_one] } if SETTINGS[:locations_enabled] end end
Version data entries
7 entries across 7 versions & 1 rubygems