mirror of
https://github.com/inspec/inspec
synced 2024-12-13 14:52:39 +00:00
c626dfdbd9
* Added CPAN resource to check Perl modules control 'cpan-1' do impact 1.0 desc ' Ensure Perl modules DBI and DBD::Pg are installed. ' describe cpan('DBI') do it { should be_installed } end describe cpan('DBD::Pg') do it { should be_installed } its('version') { should cmp >= '3.0' } end end Signed-off-by: Markus Grobelin <grobi@koppzu.de> * cpan resource: fixed unit test for non-installed module Signed-off-by: Markus Grobelin <grobi@koppzu.de>
1 line
6 B
Text
1 line
6 B
Text
3.7.0
|