Fix vm.save on customize. no longer needs the boolean argument

This commit is contained in:
Mitchell Hashimoto 2010-04-08 01:30:00 -07:00
parent 0c5ec7a4c7
commit c4da4a6b9f
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ module Vagrant
@runner.env.config.vm.run_procs!(@runner.vm) @runner.env.config.vm.run_procs!(@runner.vm)
# Save the vm # Save the vm
@runner.vm.save(true) @runner.vm.save
end end
end end
end end

View File

@ -9,7 +9,7 @@ class CustomizeActionTest < Test::Unit::TestCase
context "executing" do context "executing" do
should "run the VM customization procs then save the VM" do should "run the VM customization procs then save the VM" do
@runner.env.config.vm.expects(:run_procs!).with(@vm) @runner.env.config.vm.expects(:run_procs!).with(@vm)
@vm.expects(:save).with(true).once @vm.expects(:save).once
@action.execute! @action.execute!
end end
end end