From 21226f8a39ed2be176b4e444238cbc7b20a73801 Mon Sep 17 00:00:00 2001 From: d-m-u Date: Tue, 27 Oct 2020 00:14:44 -0400 Subject: [PATCH] rename remaining factorygirl to factorybot --- .../provision/configuration_spec.rb | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/spec/models/manageiq/providers/openstack/cloud_manager/provision/configuration_spec.rb b/spec/models/manageiq/providers/openstack/cloud_manager/provision/configuration_spec.rb index 10cb797a4..2b0cc087d 100644 --- a/spec/models/manageiq/providers/openstack/cloud_manager/provision/configuration_spec.rb +++ b/spec/models/manageiq/providers/openstack/cloud_manager/provision/configuration_spec.rb @@ -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