Skip to content

Commit

Permalink
rename remaining factorygirl to factorybot
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Oct 27, 2020
1 parent e97fd34 commit 21226f8
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@
:cloud_network_selection_method => "network",
:cloud_network => [@net1.id, @net1.name]
})
@port_task = FactoryGirl.create(:miq_provision_openstack,
:source => @template,
:destination => @vm,
:state => 'pending',
:status => 'Ok',
:options => {
:src_vm_id => @template.id,
:cloud_network_selection_method => "port",
:network_port => [@port.id, @port.name]
})
allow(@task).to receive_messages(:miq_request => double("MiqRequest").as_null_object)
@port_task = FactoryBot.create(:miq_provision_openstack,
:source => @template,
:destination => @vm,
:state => 'pending',
:status => 'Ok',
:options => {
:src_vm_id => @template.id,
:cloud_network_selection_method => "port",
:network_port => [@port.id, @port.name]
})
end

it "sets nic from dialog" do
Expand Down

0 comments on commit 21226f8

Please sign in to comment.