Method: FilterTable::ExceptionCatcher#resource_failed?
- Defined in:
- lib/utils/filter.rb
#resource_failed? ⇒ Boolean
This method is called via the runner and signals RSpec to output a block showing why the resource failed. This prevents the resource from being added to the test collection and being evaluated.
26 27 28 |
# File 'lib/utils/filter.rb', line 26 def resource_failed? @original_exception.is_a?(Inspec::Exceptions::ResourceFailed) end |