spec/beaker/hypervisor/vagrant_spec.rb in beaker-2.26.0 vs spec/beaker/hypervisor/vagrant_spec.rb in beaker-2.27.0

- old
+ new

@@ -98,10 +98,10 @@ vagrant.make_vfile( @hosts ) generated_file = File.read( File.expand_path( File.join( path, "Vagrantfile") ) ) - match = generated_file.match(/v.vm.network :forwarded_port, guest: 3389, host: 3389/) + match = generated_file.match(/v.vm.network :forwarded_port, guest: 3389, host: 3389, id: 'rdp', auto_correct: true/) expect( match ).to_not be_nil,'Should have proper port for RDP' match = generated_file.match(/v.vm.network :forwarded_port, guest: 5985, host: 5985, id: 'winrm', auto_correct: true/) expect( match ).to_not be_nil, "Should have proper port for WinRM"