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
|
||||
logger.info "Booting VM..."
|
||||
@runner.vm.start(:headless, true)
|
||||
@runner.vm.start("vrdp")
|
||||
end
|
||||
|
||||
def wait_for_boot(sleeptime=5)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue