From 2271a419404504b570d4d7dbe818629bbb659934 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 8 Apr 2010 01:45:19 -0700 Subject: [PATCH] Boot uses new VM#start method which only takes 1 arg --- lib/vagrant/actions/vm/boot.rb | 2 +- test/vagrant/actions/vm/boot_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vagrant/actions/vm/boot.rb b/lib/vagrant/actions/vm/boot.rb index ff28793d1..668860b81 100644 --- a/lib/vagrant/actions/vm/boot.rb +++ b/lib/vagrant/actions/vm/boot.rb @@ -21,7 +21,7 @@ module Vagrant def boot logger.info "Booting VM..." - @runner.vm.start(:headless, true) + @runner.vm.start("vrdp") end def wait_for_boot(sleeptime=5) diff --git a/test/vagrant/actions/vm/boot_test.rb b/test/vagrant/actions/vm/boot_test.rb index 77a8d3ad8..00c94ec54 100644 --- a/test/vagrant/actions/vm/boot_test.rb +++ b/test/vagrant/actions/vm/boot_test.rb @@ -34,7 +34,7 @@ class BootActionTest < Test::Unit::TestCase context "booting" do should "start the VM in headless mode" do - @vm.expects(:start).with(:headless, true).once + @vm.expects(:start).with("vrdp").once @action.boot end end