diff --git a/lib/vagrant/actions/vm/shared_folders.rb b/lib/vagrant/actions/vm/shared_folders.rb index d77138efa..4d8167cbf 100644 --- a/lib/vagrant/actions/vm/shared_folders.rb +++ b/lib/vagrant/actions/vm/shared_folders.rb @@ -47,7 +47,7 @@ module Vagrant @runner.vm.shared_folders << folder end - @runner.vm.save(true) + @runner.vm.save end def mount_folder(ssh, name, guestpath, sleeptime=5) diff --git a/test/vagrant/actions/vm/shared_folders_test.rb b/test/vagrant/actions/vm/shared_folders_test.rb index 66148dae7..dd9e1bb0a 100644 --- a/test/vagrant/actions/vm/shared_folders_test.rb +++ b/test/vagrant/actions/vm/shared_folders_test.rb @@ -82,7 +82,7 @@ class SharedFoldersActionTest < Test::Unit::TestCase shared_folders.expects(:<<).in_sequence(share_seq).with() { |sf| sf.name == "foo" && sf.host_path == "from" } shared_folders.expects(:<<).in_sequence(share_seq).with() { |sf| sf.name == "bar" && sf.host_path == "bfrom" } @vm.stubs(:shared_folders).returns(shared_folders) - @vm.expects(:save).with(true).once + @vm.expects(:save).once @action.create_metadata end