Method: PluginManagerCliInstall#test_error_install_with_debug_enabled

Defined in:
lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb

#test_error_install_with_debug_enabledObject



578
579
580
581
582
583
584
585
586
# File 'lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb', line 578

def test_error_install_with_debug_enabled
  skip "this test requires bundler to pass" unless defined? ::Bundler

  install_result = run_inspec_process_with_this_plugin("plugin install inspec-test-fixture -v 0.1.1 --log-level debug")

  assert_equal 1, install_result.exit_status, "Exit status should be 1"
  assert_includes install_result.stdout, "DEBUG"
  assert_includes install_result.stderr, "can't activate rake"
end