mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00: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> |
||
---|---|---|
.. | ||
bundles | ||
dependencies | ||
dsl | ||
fetchers | ||
mock | ||
objects | ||
plugins | ||
profiles | ||
resources | ||
source_readers | ||
utils | ||
file_provider_test.rb | ||
runner_test.rb | ||
shell_detector_test.rb |