spec/beaker/hypervisor/vagrant_virtualbox_spec.rb in beaker-2.18.1 vs spec/beaker/hypervisor/vagrant_virtualbox_spec.rb in beaker-2.18.2
- old
+ new
@@ -25,10 +25,10 @@
allow( vagrant ).to receive( :randmac ).and_return( "0123456789" )
vagrant.make_vfile( @hosts )
vagrantfile = File.read( File.expand_path( File.join( path, 'Vagrantfile' )))
- expect( vagrantfile ).to include( %Q{ v.vm.provider :virtualbox do |vb|\n vb.customize ['modifyvm', :id, '--memory', '1024']\n end})
+ expect( vagrantfile ).to include( %Q{ v.vm.provider :virtualbox do |vb|\n vb.customize ['modifyvm', :id, '--memory', '1024', '--cpus', '1']\n end})
end
it "can disable the vb guest plugin" do
options.merge!({ :vbguest_plugin => 'disable' })