Method: PluginManagerCliSearch#test_search_for_a_gem_with_missing_prefix
- Defined in:
- lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb
#test_search_for_a_gem_with_missing_prefix ⇒ Object
203 204 205 206 207 |
# File 'lib/plugins/inspec-plugin-manager-cli/test/functional/inspec-plugin_test.rb', line 203 def test_search_for_a_gem_with_missing_prefix result = run_inspec_process('plugin search --include-test-fixture test-fixture') assert_equal 1, result.exit_status, 'Search should exit 1 on user error' assert_includes result.stdout, "All inspec plugins must begin with either 'inspec-' or 'train-'" end |