Skip to content

Commit

Permalink
Merge pull request #15332 from tinaafitz/add_vm_migrate_factory
Browse files Browse the repository at this point in the history
Add vm_migrate_task factory.
(cherry picked from commit c374610)

https://bugzilla.redhat.com/show_bug.cgi?id=1479478
  • Loading branch information
gmcculloug authored and simaishi committed Aug 8, 2017
1 parent 4a7a549 commit c81f11d
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 c81f11d

Please sign in to comment.