Fix test incompat with Ruby 1.8.6
This commit is contained in:
parent
593e2e628f
commit
b8c2b6cde4
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue