Sha256: 0db1853bc6ec7c3bc3be021a0f297146d67cd56bd75f4e195dcf18f7c1796aa3
Contents?: true
Size: 679 Bytes
Versions: 14
Compression:
Stored size: 679 Bytes
Contents
FactoryBot.define do factory :virt_who_config, :class => ::ForemanVirtWhoConfigure::Config do sequence(:name) { |n| "config #{n}" } organization interval 120 hypervisor_id 'hostname' hypervisor_type 'esx' hypervisor_server 'vmware.example.com' hypervisor_username 'root' hypervisor_password 'changeme' satellite_url 'foreman.example.com' listing_mode ForemanVirtWhoConfigure::Config::UNLIMITED end trait :out_of_date do last_report_at (1.minute.ago - 120.minutes).utc out_of_date_at (1.minute.ago).utc end trait :ok do last_report_at (1.minute.ago).utc out_of_date_at (1.minute.ago + 120.minutes).utc end end
Version data entries
14 entries across 14 versions & 1 rubygems