Boot uses new VM#start method which only takes 1 arg

This commit is contained in:
Mitchell Hashimoto 2010-04-08 01:45:19 -07:00
parent 279704475d
commit 2271a41940
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ module Vagrant
def boot def boot
logger.info "Booting VM..." logger.info "Booting VM..."
@runner.vm.start(:headless, true) @runner.vm.start("vrdp")
end end
def wait_for_boot(sleeptime=5) def wait_for_boot(sleeptime=5)

View File

@ -34,7 +34,7 @@ class BootActionTest < Test::Unit::TestCase
context "booting" do context "booting" do
should "start the VM in headless mode" do should "start the VM in headless mode" do
@vm.expects(:start).with(:headless, true).once @vm.expects(:start).with("vrdp").once
@action.boot @action.boot
end end
end end