Sha256: 0a385585cd6f84c45ebf5b0b3313b59e825b72ad659a7fcd4b268a31f9995ae8
Contents?: true
Size: 632 Bytes
Versions: 24
Compression:
Stored size: 632 Bytes
Contents
FactoryBot.define do factory :openscap_feature, :class => Feature do name 'Openscap' end factory :openscap_proxy, :class => SmartProxy do sequence(:name) { |n| "openscap_proxy#{n}" } sequence(:url) { |n| "https://anywhere#{n}.net:8443" } features { |sp| [sp.association(:openscap_feature)] } end factory :compliance_host, :class => Host::Managed do sequence(:name) { |n| "host#{n}" } sequence(:hostname) { |n| "hostname#{n}" } root_pass 'xybxa6JUkz63w' openscap_proxy { SmartProxy.unscoped.with_features('Openscap').first || FactoryBot.create(:openscap_proxy) } policies [] end end
Version data entries
24 entries across 24 versions & 1 rubygems