Sha256: f80a393e5ece01fb08c18a20d928e1bcb24192bfcb614776bca8363a615721ee

Contents?: true

Size: 235 Bytes

Versions: 16

Compression:

Stored size: 235 Bytes

Contents

FactoryBot.define do
  factory :oval_policy, :class => ::ForemanOpenscap::OvalPolicy do
    sequence(:name) { |n| "policy#{n}" }
    period { 'weekly' }
    weekday { 'monday' }
    day_of_month { nil }
    cron_line { nil }
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
foreman_openscap-8.0.0 test/factories/oval_policy_factory.rb
foreman_openscap-7.1.1 test/factories/oval_policy_factory.rb
foreman_openscap-7.1.0 test/factories/oval_policy_factory.rb
foreman_openscap-7.0.0 test/factories/oval_policy_factory.rb
foreman_openscap-6.0.0 test/factories/oval_policy_factory.rb
foreman_openscap-5.2.3 test/factories/oval_policy_factory.rb
foreman_openscap-5.2.2 test/factories/oval_policy_factory.rb
foreman_openscap-5.1.1 test/factories/oval_policy_factory.rb
foreman_openscap-5.2.1 test/factories/oval_policy_factory.rb
foreman_openscap-5.2.0 test/factories/oval_policy_factory.rb
foreman_openscap-5.1.0 test/factories/oval_policy_factory.rb
foreman_openscap-5.0.0 test/factories/oval_policy_factory.rb
foreman_openscap-4.3.3 test/factories/oval_policy_factory.rb
foreman_openscap-4.3.2 test/factories/oval_policy_factory.rb
foreman_openscap-4.3.1 test/factories/oval_policy_factory.rb
foreman_openscap-4.3.0 test/factories/oval_policy_factory.rb