test/factories/task_factory.rb in foreman-tasks-0.10.4 vs test/factories/task_factory.rb in foreman-tasks-0.10.6

- old
+ new

@@ -1,5 +1,5 @@ -FactoryGirl.define do +FactoryBot.define do factory :some_task, :class => ForemanTasks::Task do sequence(:label) { |n| "task#{n}" } type 'ForemanTasks::Task' state 'stopped' result 'success'