Skip to content

Commit

Permalink
Merge pull request #118 from kbrock/workflow_factories
Browse files Browse the repository at this point in the history
Remove non-existing parent factory references
  • Loading branch information
Fryguy authored Oct 17, 2024
2 parents 3304bac + ec335fd commit a448fc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/factories/workflow.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FactoryBot.define do
factory :workflows_automation_workflow, :class => "ManageIQ::Providers::Workflows::AutomationManager::Workflow", :parent => :workflow
factory :workflows_automation_workflow, :class => "ManageIQ::Providers::Workflows::AutomationManager::Workflow"
end
3 changes: 2 additions & 1 deletion spec/factories/workflow_instance.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FactoryBot.define do
factory :workflows_automation_workflow_instance, :class => "ManageIQ::Providers::Workflows::AutomationManager::Workflow_instance", :parent => :workflow_instance do
factory :workflows_automation_workflow_instance, :class => "ManageIQ::Providers::Workflows::AutomationManager::Workflow_instance" do
status { "pending" }
manager_ref { SecureRandom.uuid }
end
end

0 comments on commit a448fc7

Please sign in to comment.