Skip to content

Commit

Permalink
Add resource to conversion_host to pass validation
Browse files Browse the repository at this point in the history
  • Loading branch information
gmcculloug committed Dec 12, 2018
1 parent d9dcef8 commit 6327d46
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
describe MiqAeMethodService::MiqAeServiceServiceTemplateTransformationPlanTask do
let(:conversion_host_1) { FactoryGirl.create(:conversion_host) }
let(:conversion_host_2) { FactoryGirl.create(:conversion_host) }
let(:host) { FactoryBot.create(:host) }
let(:vm) { FactoryBot.create(:vm_or_template) }
let(:conversion_host_1) { FactoryBot.create(:conversion_host, :resource => host) }
let(:conversion_host_2) { FactoryBot.create(:conversion_host, :resource => vm) }
let(:service_conversion_host_2) { MiqAeMethodService::MiqAeServiceConversionHost.find(conversion_host_2.id) }
let(:task) { FactoryGirl.create(:service_template_transformation_plan_task, :conversion_host => conversion_host_1) }
let(:service_task) { MiqAeMethodService::MiqAeServiceServiceTemplateTransformationPlanTask.find(task.id) }
Expand Down

0 comments on commit 6327d46

Please sign in to comment.