Boot uses new VM#start method which only takes 1 arg
This commit is contained in:
parent
279704475d
commit
2271a41940
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue