mirror of
https://github.com/inspec/inspec
synced 2024-11-26 14:40:26 +00:00
Merge pull request #1388 from jvrplmlmn/fix-description-test-unit-resource-package-solaris
Fix wrong description for the Solaris cases in the unit tests of the 'package' resource
This commit is contained in:
commit
0dd6aa3e36
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ describe 'Inspec::Resources::Package' do
|
|||
end
|
||||
|
||||
# solaris 10
|
||||
it 'verify windows package parsing' do
|
||||
it 'verify solaris 10 package parsing' do
|
||||
resource = MockLoader.new(:solaris10).load_resource('package', 'SUNWzfsr')
|
||||
pkg = { name: 'SUNWzfsr', installed: true, version: '11.10.0-2006.05.18.01.46', type: 'pkg' }
|
||||
_(resource.installed?).must_equal true
|
||||
|
@ -79,7 +79,7 @@ describe 'Inspec::Resources::Package' do
|
|||
end
|
||||
|
||||
# solaris 11
|
||||
it 'verify windows package parsing' do
|
||||
it 'verify solaris 11 package parsing' do
|
||||
resource = MockLoader.new(:solaris11).load_resource('package', 'system/file-system/zfs')
|
||||
pkg = { name: 'system/file-system/zfs', installed: true, version: '0.5.11-0.175.3.1.0.5.0', type: 'pkg' }
|
||||
_(resource.installed?).must_equal true
|
||||
|
|
Loading…
Reference in a new issue