File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
spec/models/manageiq/providers/openstack/cloud_manager/provision Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1818 :cloud_network_selection_method => "network" ,
1919 :cloud_network => [ @net1 . id , @net1 . name ]
2020 } )
21- @port_task = FactoryGirl . create ( :miq_provision_openstack ,
22- :source => @template ,
23- :destination => @vm ,
24- :state => 'pending' ,
25- :status => 'Ok' ,
26- :options => {
27- :src_vm_id => @template . id ,
28- :cloud_network_selection_method => "port" ,
29- :network_port => [ @port . id , @port . name ]
30- } )
3121 allow ( @task ) . to receive_messages ( :miq_request => double ( "MiqRequest" ) . as_null_object )
22+ @port_task = FactoryBot . create ( :miq_provision_openstack ,
23+ :source => @template ,
24+ :destination => @vm ,
25+ :state => 'pending' ,
26+ :status => 'Ok' ,
27+ :options => {
28+ :src_vm_id => @template . id ,
29+ :cloud_network_selection_method => "port" ,
30+ :network_port => [ @port . id , @port . name ]
31+ } )
3232 end
3333
3434 it "sets nic from dialog" do
You can’t perform that action at this time.
0 commit comments