Sha256: a4bfea25c62ab8205240e71ef8bc897dbafebbe4abf05f9d0386c0a50001e702

Contents?: true

Size: 313 Bytes

Versions: 28

Compression:

Stored size: 313 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

28 entries across 28 versions & 1 rubygems

Version Path
foreman-tasks-0.11.2 test/factories/recurring_logic_factory.rb
foreman-tasks-0.12.1 test/factories/recurring_logic_factory.rb
foreman-tasks-0.12.0 test/factories/recurring_logic_factory.rb
foreman-tasks-0.11.1 test/factories/recurring_logic_factory.rb
foreman-tasks-0.11.0 test/factories/recurring_logic_factory.rb
foreman-tasks-0.10.8 test/factories/recurring_logic_factory.rb
foreman-tasks-0.10.7 test/factories/recurring_logic_factory.rb
foreman-tasks-0.10.6 test/factories/recurring_logic_factory.rb