diff --git a/test/vagrant/action/vm/forward_ports_test.rb b/test/vagrant/action/vm/forward_ports_test.rb index 406bad6c6..6e1d32e95 100644 --- a/test/vagrant/action/vm/forward_ports_test.rb +++ b/test/vagrant/action/vm/forward_ports_test.rb @@ -169,7 +169,8 @@ class ForwardPortsVMActionTest < Test::Unit::TestCase end should "forward ports" do - name, opts = @env.env.config.vm.forwarded_ports.first + name = @env.env.config.vm.forwarded_ports.keys.first + opts = @env.env.config.vm.forwarded_ports[name] adapters = [] adapter = mock("adapter")