Sha256: 7ff12c2f8393fb331a070b0ec02778e338cb89ab650a2e3f022de947cea15a3c

Contents?: true

Size: 366 Bytes

Versions: 8

Compression:

Stored size: 366 Bytes

Contents

FactoryBot.define do
  factory :arf_report, :class => ::ForemanOpenscap::ArfReport do
    host_id 1
    policy nil
    policy_arf_report nil
    sequence(:reported_at) { |n| Time.new(1490 + n, 0o1, 13, 15, 24, 0o0) }
    sequence(:created_at) { |n| Time.new(1490 + n, 0o1, 13, 15, 24, 0o0) }
    logs []
    status 0
    metrics({})
    openscap_proxy nil
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
foreman_openscap-0.10.3 test/factories/arf_report_factory.rb
foreman_openscap-0.10.2 test/factories/arf_report_factory.rb
foreman_openscap-0.10.1 test/factories/arf_report_factory.rb
foreman_openscap-0.9.3 test/factories/arf_report_factory.rb
foreman_openscap-0.10.0 test/factories/arf_report_factory.rb
foreman_openscap-0.9.2 test/factories/arf_report_factory.rb
foreman_openscap-0.9.1 test/factories/arf_report_factory.rb
foreman_openscap-0.9.0 test/factories/arf_report_factory.rb