Method: FilterTable::ExceptionCatcher#resource_failed?
- Defined in:
- lib/inspec/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.
21 22 23 |
# File 'lib/inspec/utils/filter.rb', line 21 def resource_failed? @original_exception.is_a?(Inspec::Exceptions::ResourceFailed) end |