Skip to content

Commit

Permalink
Fixed spec based on new validations added to ConversionHost model
Browse files Browse the repository at this point in the history
in ManageIQ/manageiq#18277

Fixes failing tests.
  • Loading branch information
gmcculloug committed Dec 12, 2018
1 parent 7e6c26d commit 1ad7eea
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
describe ManageIQ::Automate::Transformation::Common::AcquireTransformationHost do
let(:user) { FactoryGirl.create(:user_with_email_and_group) }
let(:task) { FactoryGirl.create(:service_template_transformation_plan_task) }
let(:conversion_host) { FactoryGirl.create(:conversion_host) }
let(:vm) { FactoryBot.create(:vm_or_template) }
let(:conversion_host) { FactoryGirl.create(:conversion_host, :resource => vm) }

let(:svc_model_user) { MiqAeMethodService::MiqAeServiceUser.find(user.id) }
let(:svc_model_task) { MiqAeMethodService::MiqAeServiceServiceTemplateTransformationPlanTask.find(task.id) }
Expand Down

0 comments on commit 1ad7eea

Please sign in to comment.