Fix NoMethodError when running individual specs
What does this MR do?
This merge request introduces a safeguard against nil
values that might be passed to the sanitize_path
function within the spec_helper.rb
file. Specifically, it modifies the full_description
and output_dir
functions to ensure that nil
is replaced with an empty string before being processed. This change prevents NoMethodError
exceptions when either metadata[:full_description]
or metadata[:description]
are nil
.
What are the relevant issue numbers?
Slack (internal link good for 90 days)
Related merge requests
Fix long file path bug by storing output in sub... (!56 - merged) • Adam Cohen • 16.11
Edited by Philip Cunningham