Skip to content

Commit

Permalink
Merge pull request #653 from d-m-u/rename_factory_girl
Browse files Browse the repository at this point in the history
rename remaining factorygirl to factorybot
  • Loading branch information
agrare authored Oct 27, 2020
2 parents e97fd34 + 21226f8 commit e2a320b
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 e2a320b

Please sign in to comment.