spec/beaker/hypervisor/vagrant_virtualbox_spec.rb in beaker-vagrant-0.2.0 vs spec/beaker/hypervisor/vagrant_virtualbox_spec.rb in beaker-vagrant-0.2.1

- old
+ new

@@ -39,6 +39,16 @@ expect( match ).to_not be nil end + it "can enable ioapic(multiple cores) on hosts" do + path = vagrant.instance_variable_get( :@vagrant_path ) + hosts = make_hosts({:ioapic => 'true'},1) + + vagrant.make_vfile( hosts ) + + vagrantfile = File.read( File.expand_path( File.join( path, 'Vagrantfile' ))) + expect( vagrantfile ).to include( %Q{ vb.customize ["modifyvm", :id, "--ioapic", "on"]}) + end + end