Sha256: eaa05ab58c879ff3d9c8514b9ce06362c077e89d582d204ec6d205bd4b89bba4

Contents?: true

Size: 317 Bytes

Versions: 47

Compression:

Stored size: 317 Bytes

Contents

FactoryBot.define do
  factory :recurring_logic, :class => ForemanTasks::RecurringLogic do
    cron_line { '* * * * *' }
    after(:build) { |logic| logic.task_group = build(:recurring_logic_task_group) }
  end

  factory :recurring_logic_task_group, :class => ::ForemanTasks::TaskGroups::RecurringLogicTaskGroup
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
foreman-tasks-4.1.6 test/factories/recurring_logic_factory.rb
foreman-tasks-5.1.1 test/factories/recurring_logic_factory.rb
foreman-tasks-5.1.0 test/factories/recurring_logic_factory.rb
foreman-tasks-4.1.5 test/factories/recurring_logic_factory.rb
foreman-tasks-4.1.4 test/factories/recurring_logic_factory.rb
foreman-tasks-4.1.3 test/factories/recurring_logic_factory.rb
foreman-tasks-3.0.6 test/factories/recurring_logic_factory.rb
foreman-tasks-5.0.0 test/factories/recurring_logic_factory.rb
foreman-tasks-4.1.2 test/factories/recurring_logic_factory.rb
foreman-tasks-4.1.1 test/factories/recurring_logic_factory.rb
foreman-tasks-4.0.1 test/factories/recurring_logic_factory.rb
foreman-tasks-4.1.0 test/factories/recurring_logic_factory.rb
foreman-tasks-3.0.5 test/factories/recurring_logic_factory.rb
foreman-tasks-4.0.0 test/factories/recurring_logic_factory.rb
foreman-tasks-3.0.4 test/factories/recurring_logic_factory.rb
foreman-tasks-2.0.3 test/factories/recurring_logic_factory.rb
foreman-tasks-3.0.3 test/factories/recurring_logic_factory.rb
foreman-tasks-3.0.2 test/factories/recurring_logic_factory.rb
foreman-tasks-3.0.1 test/factories/recurring_logic_factory.rb
foreman-tasks-3.0.0 test/factories/recurring_logic_factory.rb