mirror of
https://github.com/inspec/inspec
synced 2024-11-26 22:50:36 +00:00
326b6bfd47
* This fixes the undefined method 'summary' for #<Gem::SourceFetchProblem:0x000000000139dc70> (NoMethodError) while invoking any inspec command if the custom plugin is installed and if inspec commands are run in an air gap environment. This fix removes an earlier call for getting gem specification from rubygems.org which is the cause for above error and replaces it with fetching the summary from a locally saved gemspec file. This will work in both airgap and non-airgap environments. Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io> * Adds test for reading description from local gemspec file. Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io> Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io> |
||
---|---|---|
.. | ||
artifact_helper.rb | ||
inspec_archive_test.rb | ||
inspec_check_test.rb | ||
inspec_compliance_test.rb | ||
inspec_detect_test.rb | ||
inspec_env_test.rb | ||
inspec_exec_test.rb | ||
inspec_habitat_test.rb | ||
inspec_help_test.rb | ||
inspec_init_test.rb | ||
inspec_json_test.rb | ||
inspec_plugin_test.rb | ||
inspec_shell_test.rb | ||
inspec_supermarket_test.rb | ||
inspec_vendor_test.rb | ||
inspec_version_test.rb | ||
Rakefile | ||
README.md |
InSpec Artifact test suite
A minimal set of tests to validate functionality after 'build'.
Execute this after building InSpec artifacts with omnibus, habitat, or another system.