Forwarded ports task now calls VM#save properly

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

View File

@ -38,7 +38,7 @@ module Vagrant
@runner.vm.forwarded_ports << port
end
@runner.vm.save(true)
@runner.vm.save
end
end
end

View File

@ -83,7 +83,7 @@ class ForwardPortsActionTest < Test::Unit::TestCase
end
@vm.expects(:forwarded_ports).returns(forwarded_ports)
@vm.expects(:save).with(true).once
@vm.expects(:save).once
@action.forward_ports
end
end