Skip to content

Commit

Permalink
Add vm_migrate_task factory.
Browse files Browse the repository at this point in the history
  • Loading branch information
tinaafitz committed Jun 7, 2017
1 parent 2653cb2 commit a4d4652
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 a4d4652

Please sign in to comment.