class ChefSpec::ChefFormatter
def cookbook_sync_failed(cookbooks, exception)
def cookbook_sync_failed(cookbooks, exception) expecting_exception(exception) do description = Chef::Formatters::ErrorMapper.cookbook_sync_failed(cookbooks, exception) display_error(description) end end