diff --git a/spec/support/ansible_shared/automation_manager/configuration_script_source.rb b/spec/support/ansible_shared/automation_manager/configuration_script_source.rb index 86c2e9c7e93..fd7cdef3708 100644 --- a/spec/support/ansible_shared/automation_manager/configuration_script_source.rb +++ b/spec/support/ansible_shared/automation_manager/configuration_script_source.rb @@ -79,7 +79,7 @@ def store_new_project(project, manager) it "#delete_in_provider_queue" do task_id = project.delete_in_provider_queue - expect(MiqTask.find(task_id)).to have_attributes(:name => "Deleting #{described_class.name} with manager_ref=#{project.manager_ref}") + expect(MiqTask.find(task_id)).to have_attributes(:name => "Deleting #{described_class.name} with Tower internal reference=#{project.manager_ref}") expect(MiqQueue.first).to have_attributes( :instance_id => project.id, :args => [], @@ -105,7 +105,7 @@ def store_new_project(project, manager) it "#update_in_provider_queue" do task_id = project.update_in_provider_queue({}) - expect(MiqTask.find(task_id)).to have_attributes(:name => "Updating #{described_class.name} with manager_ref=#{project.manager_ref}") + expect(MiqTask.find(task_id)).to have_attributes(:name => "Updating #{described_class.name} with Tower internal reference=#{project.manager_ref}") expect(MiqQueue.first).to have_attributes( :instance_id => project.id, :args => [{:task_id => task_id}], diff --git a/spec/support/ansible_shared/automation_manager/credential.rb b/spec/support/ansible_shared/automation_manager/credential.rb index 7386b00fd20..d8e5325ea17 100644 --- a/spec/support/ansible_shared/automation_manager/credential.rb +++ b/spec/support/ansible_shared/automation_manager/credential.rb @@ -84,7 +84,7 @@ def store_new_credential(credential, manager) it "#delete_in_provider_queue" do task_id = ansible_cred.delete_in_provider_queue - expect(MiqTask.find(task_id)).to have_attributes(:name => "Deleting #{described_class.name} with manager_ref=#{ansible_cred.manager_ref}") + expect(MiqTask.find(task_id)).to have_attributes(:name => "Deleting #{described_class.name} with Tower internal reference=#{ansible_cred.manager_ref}") expect(MiqQueue.first).to have_attributes( :instance_id => ansible_cred.id, :args => [], @@ -116,7 +116,7 @@ def store_new_credential(credential, manager) it "#update_in_provider_queue" do task_id = ansible_cred.update_in_provider_queue({}) - expect(MiqTask.find(task_id)).to have_attributes(:name => "Updating #{described_class.name} with manager_ref=#{ansible_cred.manager_ref}") + expect(MiqTask.find(task_id)).to have_attributes(:name => "Updating #{described_class.name} with Tower internal reference=#{ansible_cred.manager_ref}") expect(MiqQueue.first).to have_attributes( :instance_id => ansible_cred.id, :args => [{:task_id => task_id}],