Merge pull request #885 from brianjmurrell/patch-1

Don't add _ after user defined default_prefix
This commit is contained in:
Darragh Bailey
2019-02-13 15:24:42 +00:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ describe VagrantPlugins::ProviderLibvirt::Action::SetNameOfDomain do
end
it 'builds simple domain name' do
@env.default_prefix = 'pre'
@env.default_prefix = 'pre_'
dmn = VagrantPlugins::ProviderLibvirt::Action::SetNameOfDomain.new(Object.new, @env)
dmn.build_domain_name(@env).should eq('pre_')
end