From c4da4a6b9fdfc7d5e69f3cc585edcb264c9069d9 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 8 Apr 2010 01:30:00 -0700 Subject: [PATCH] Fix vm.save on customize. no longer needs the boolean argument --- lib/vagrant/actions/vm/customize.rb | 2 +- test/vagrant/actions/vm/customize_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vagrant/actions/vm/customize.rb b/lib/vagrant/actions/vm/customize.rb index 04847cca7..84496ac87 100644 --- a/lib/vagrant/actions/vm/customize.rb +++ b/lib/vagrant/actions/vm/customize.rb @@ -9,7 +9,7 @@ module Vagrant @runner.env.config.vm.run_procs!(@runner.vm) # Save the vm - @runner.vm.save(true) + @runner.vm.save end end end diff --git a/test/vagrant/actions/vm/customize_test.rb b/test/vagrant/actions/vm/customize_test.rb index c9a4853c1..66e46dbcf 100644 --- a/test/vagrant/actions/vm/customize_test.rb +++ b/test/vagrant/actions/vm/customize_test.rb @@ -9,7 +9,7 @@ class CustomizeActionTest < Test::Unit::TestCase context "executing" do should "run the VM customization procs then save the VM" do @runner.env.config.vm.expects(:run_procs!).with(@vm) - @vm.expects(:save).with(true).once + @vm.expects(:save).once @action.execute! end end