test: fix tests
This commit is contained in:
parent
061a91d09b
commit
7e18a92bd9
|
@ -159,6 +159,7 @@ shared_examples "a version 4.x virtualbox driver" do |options|
|
||||||
name: 'vboxnet0',
|
name: 'vboxnet0',
|
||||||
ip: '172.28.128.1',
|
ip: '172.28.128.1',
|
||||||
netmask: '255.255.255.0',
|
netmask: '255.255.255.0',
|
||||||
|
ipv6_prefix: '0',
|
||||||
status: 'Up',
|
status: 'Up',
|
||||||
}])
|
}])
|
||||||
end
|
end
|
||||||
|
@ -196,8 +197,8 @@ shared_examples "a version 4.x virtualbox driver" do |options|
|
||||||
|
|
||||||
it "returns a list with one entry for each interface" do
|
it "returns a list with one entry for each interface" do
|
||||||
expect(subject.read_host_only_interfaces).to eq([
|
expect(subject.read_host_only_interfaces).to eq([
|
||||||
{name: 'vboxnet0', ip: '172.28.128.1', netmask: '255.255.255.0', status: 'Up'},
|
{name: 'vboxnet0', ip: '172.28.128.1', netmask: '255.255.255.0', ipv6_prefix: "0", status: 'Up'},
|
||||||
{name: 'vboxnet1', ip: '10.0.0.1', netmask: '255.255.255.0', status: 'Up'},
|
{name: 'vboxnet1', ip: '10.0.0.1', netmask: '255.255.255.0', ipv6_prefix: "0", status: 'Up'},
|
||||||
])
|
])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue