Method: ChefSpec::ChefFormatter#recipe_not_found
- Defined in:
- lib/chefspec/formatter.rb
#recipe_not_found(exception) ⇒ Object
Called when a recipe cannot be resolved
188 189 190 191 192 193 |
# File 'lib/chefspec/formatter.rb', line 188 def recipe_not_found(exception) expecting_exception(exception) do description = Chef::Formatters::ErrorMapper.file_load_failed(nil, exception) display_error(description) end end |