Reduce expectations per test

This commit is contained in:
Zach Leslie 2017-06-24 12:49:53 -07:00
parent 93a67beb0b
commit 955ad75a79
2 changed files with 13 additions and 9 deletions

View File

@ -33,9 +33,11 @@ describe provider_class do
results = provider_class.get_jail_properties('b439bd7a-5376-11e7-ad91-d979c2a3eb55')
expect(results).to(include('tag' => 'f11-puppet4'))
expect(results).to(include('boot' => 'off'))
expect(results).to(include('template' => 'yes'))
expect(results).to(include(
'tag' => 'f11-puppet4',
'boot' => 'off',
'template' => 'yes'
))
end
end
end

View File

@ -89,12 +89,14 @@ describe provider_class do
results = provider_class.get_jail_properties('f9e67f5a-4bbe-11e6-a9b4-eca86bff7d21')
expect(results).to(include('tag' => 'media2'))
expect(results).to(include('boot' => 'on'))
expect(results).to(include('jail_zfs' => 'on'))
expect(results).to(include('jail_zfs_dataset' => 'media_in'))
expect(results).to(include('ip4_addr' => 'ethernet0|10.0.0.10'))
expect(results).to(include('ip6_addr' => 'ethernet0|2001:470:deed::100'))
expect(results).to(include(
'tag' => 'media2',
'boot' => 'on',
'jail_zfs' => 'on',
'jail_zfs_dataset' => 'media_in',
'ip4_addr' => 'ethernet0|10.0.0.10',
'ip6_addr' => 'ethernet0|2001:470:deed::100'
))
end
end
end