From 9c2adabbf1ea61d71f706ed88420ab90ae1228b7 Mon Sep 17 00:00:00 2001 From: Tina Fitzgerald Date: Fri, 8 Sep 2017 11:00:22 -0400 Subject: [PATCH] Change miq_queue tracking_label back to task_id. --- spec/models/miq_provision_request_spec.rb | 10 +++++----- .../service_template_provision_request_quota_spec.rb | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/spec/models/miq_provision_request_spec.rb b/spec/models/miq_provision_request_spec.rb index 56faf9538e3..026ec2c94fa 100644 --- a/spec/models/miq_provision_request_spec.rb +++ b/spec/models/miq_provision_request_spec.rb @@ -169,11 +169,11 @@ def request_queue_entry(request) def task_queue_entry(task) FactoryGirl.create(:miq_queue, - :state => MiqQueue::STATE_DEQUEUE, - :args => [{:object_type => "Provision", :object_id => task.id}], - :tracking_label => 'miq_provision_task', - :class_name => 'MiqAeEngine', - :method_name => 'deliver') + :state => MiqQueue::STATE_DEQUEUE, + :args => [{:object_type => "Provision", :object_id => task.id}], + :task_id => 'miq_provision_task', + :class_name => 'MiqAeEngine', + :method_name => 'deliver') end def create_test_task(user, template) diff --git a/spec/models/service_template_provision_request_quota_spec.rb b/spec/models/service_template_provision_request_quota_spec.rb index 60663b423f4..95c35df9b5a 100644 --- a/spec/models/service_template_provision_request_quota_spec.rb +++ b/spec/models/service_template_provision_request_quota_spec.rb @@ -29,11 +29,11 @@ def request_queue_entry(request) def task_queue_entry(task) FactoryGirl.create(:miq_queue, - :state => MiqQueue::STATE_DEQUEUE, - :args => [{:object_type => "ServiceTemplateProvisionRequest", :object_id => task.id}], - :tracking_label => 'service_template_provision_task', - :class_name => 'MiqAeEngine', - :method_name => 'deliver') + :state => MiqQueue::STATE_DEQUEUE, + :args => [{:object_type => "ServiceTemplateProvisionRequest", :object_id => task.id}], + :task_id => 'service_template_provision_task', + :class_name => 'MiqAeEngine', + :method_name => 'deliver') end def create_test_task(user, service_template)