Class: Inspec::Plugin::V2::PluginType::Mock
- Inherits:
-
Inspec::Plugin::V2::PluginBase
- Object
- Inspec::Plugin::V2::PluginBase
- Inspec::Plugin::V2::PluginType::Mock
- Defined in:
- lib/inspec/plugin/v2/plugin_types/mock.rb
Overview
Test plugin type
Instance Method Summary collapse
-
#mock_hook ⇒ Object
This is the API for the mock plugin type: when a mock plugin is activated, it is expected to be able to respond to this, and “do something”.
Methods inherited from Inspec::Plugin::V2::PluginBase
base_class_for_type, plugin_name, register_plugin_type, registry
Instance Method Details
#mock_hook ⇒ Object
This is the API for the mock plugin type: when a mock plugin is activated, it is expected to be able to respond to this, and “do something”
8 9 10 |
# File 'lib/inspec/plugin/v2/plugin_types/mock.rb', line 8 def mock_hook raise NotImplementedError, 'Mock plugins must implement mock_hook' end |