Fix failing domain tests due to missing property

Changes in names of data being passed through from the config object to
the CreateDomain action means that to test the domain xml template,
need to add an additional variable of qargs when testing.
This commit is contained in:
Darragh Bailey
2017-05-29 14:01:11 +01:00
parent 27cf8d657d
commit fcaed64df9

View File

@@ -8,6 +8,11 @@ describe 'templates/domain' do
class DomainTemplateHelper < VagrantPlugins::ProviderLibvirt::Config class DomainTemplateHelper < VagrantPlugins::ProviderLibvirt::Config
include VagrantPlugins::ProviderLibvirt::Util::ErbTemplate include VagrantPlugins::ProviderLibvirt::Util::ErbTemplate
def finalize!
super
@qargs = @qemu_args
end
end end
let(:domain) { DomainTemplateHelper.new } let(:domain) { DomainTemplateHelper.new }