mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
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:
@@ -8,6 +8,11 @@ describe 'templates/domain' do
|
||||
|
||||
class DomainTemplateHelper < VagrantPlugins::ProviderLibvirt::Config
|
||||
include VagrantPlugins::ProviderLibvirt::Util::ErbTemplate
|
||||
|
||||
def finalize!
|
||||
super
|
||||
@qargs = @qemu_args
|
||||
end
|
||||
end
|
||||
|
||||
let(:domain) { DomainTemplateHelper.new }
|
||||
|
||||
Reference in New Issue
Block a user