test: fix tests

This commit is contained in:
Mitchell Hashimoto 2015-10-01 08:45:44 -04:00
parent 061a91d09b
commit 7e18a92bd9
1 changed files with 3 additions and 2 deletions

View File

@ -159,6 +159,7 @@ shared_examples "a version 4.x virtualbox driver" do |options|
name: 'vboxnet0',
ip: '172.28.128.1',
netmask: '255.255.255.0',
ipv6_prefix: '0',
status: 'Up',
}])
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
expect(subject.read_host_only_interfaces).to eq([
{name: 'vboxnet0', ip: '172.28.128.1', netmask: '255.255.255.0', status: 'Up'},
{name: 'vboxnet1', ip: '10.0.0.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', ipv6_prefix: "0", status: 'Up'},
])
end
end