VM halting uses new VM#stop
This commit is contained in:
parent
2271a41940
commit
745aadd1a5
|
@ -6,7 +6,7 @@ module Vagrant
|
|||
raise ActionException.new(:vm_not_running) unless @runner.vm.running?
|
||||
|
||||
logger.info "Forcing shutdown of VM..."
|
||||
@runner.vm.stop(true)
|
||||
@runner.vm.stop
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -12,7 +12,7 @@ class HaltActionTest < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
should "force the VM to stop" do
|
||||
@vm.expects(:stop).with(true).once
|
||||
@vm.expects(:stop).once
|
||||
@action.execute!
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue