Skip to content

Commit

Permalink
Merge pull request ManageIQ#15332 from tinaafitz/add_vm_migrate_factory
Browse files Browse the repository at this point in the history
Add vm_migrate_task factory.
  • Loading branch information
gmcculloug authored Jun 7, 2017
2 parents e4dd3f6 + a4d4652 commit c374610
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/factories/miq_request_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
end
end
factory :miq_provision_vmware_via_pxe, :parent => :miq_provision_vmware, :class => "ManageIQ::Providers::Vmware::InfraManager::ProvisionViaPxe"
factory :vm_migrate_task, :parent => :miq_request_task, :class => "VmMigrateTask" do
request_type "vm_migrate"
end

# Cloud
factory :miq_provision_cloud, :parent => :miq_provision, :class => "ManageIQ::Providers::CloudManager::Provision"
Expand Down

0 comments on commit c374610

Please sign in to comment.