Project

General

Profile

« Previous | Next » 

Revision 9d43fc71

Added by Michael Moll almost 6 years ago

Fixes #19789 - fix Layout/SpaceAroundOperators cop

View differences:

test/models/orchestration/compute_test.rb
image = images(:one)
host = FactoryBot.build_stubbed(:host, :operatingsystem => image.operatingsystem, :image => image,
:compute_resource => image.compute_resource)
prov_temp = FactoryBot.create(:provisioning_template, :template_kind => TemplateKind.create(:name =>"user_data"))
prov_temp = FactoryBot.create(:provisioning_template, :template_kind => TemplateKind.create(:name => "user_data"))
host.stubs(:provisioning_template).returns(prov_temp)
attrs = {}
host.stubs(:compute_attributes).returns(attrs)

Also available in: Unified diff