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.14.6 test/factories/recurring_logic_factory.rb
foreman-tasks-0.15.5 test/factories/recurring_logic_factory.rb
foreman-tasks-0.15.4 test/factories/recurring_logic_factory.rb
foreman-tasks-0.15.3 test/factories/recurring_logic_factory.rb
foreman-tasks-0.15.2 test/factories/recurring_logic_factory.rb
foreman-tasks-0.15.1 test/factories/recurring_logic_factory.rb
foreman-tasks-0.15.0 test/factories/recurring_logic_factory.rb
foreman-tasks-0.14.5 test/factories/recurring_logic_factory.rb
foreman-tasks-0.14.4 test/factories/recurring_logic_factory.rb
foreman-tasks-0.14.3 test/factories/recurring_logic_factory.rb
foreman-tasks-0.14.2 test/factories/recurring_logic_factory.rb
foreman-tasks-0.14.1 test/factories/recurring_logic_factory.rb
foreman-tasks-0.11.3 test/factories/recurring_logic_factory.rb
foreman-tasks-0.14.0 test/factories/recurring_logic_factory.rb
foreman-tasks-0.13.4 test/factories/recurring_logic_factory.rb
foreman-tasks-0.13.3 test/factories/recurring_logic_factory.rb
foreman-tasks-0.13.2 test/factories/recurring_logic_factory.rb
foreman-tasks-0.13.1 test/factories/recurring_logic_factory.rb
foreman-tasks-0.13.0 test/factories/recurring_logic_factory.rb
foreman-tasks-0.12.2 test/factories/recurring_logic_factory.rb