spec/support/sharedcontext.rb in vagrant-libvirt-0.3.0 vs spec/support/sharedcontext.rb in vagrant-libvirt-0.4.0
- old
+ new
@@ -1,13 +1,17 @@
require 'spec_helper'
shared_context 'unit' do
include_context 'vagrant-unit'
+ let(:vagrantfile_providerconfig) { '' }
let(:vagrantfile) do
<<-EOF
Vagrant.configure('2') do |config|
config.vm.define :test
+ config.vm.provider :libvirt do |libvirt|
+ #{vagrantfile_providerconfig}
+ end
end
EOF
end
let(:test_env) do
test_env = isolated_environment