test/utils/spdx_spec: don't error if test is skipped

This commit is contained in:
Bo Anderson 2020-08-22 01:58:12 +01:00
parent 85fe23ed85
commit f54b3e7a17

View File

@ -35,8 +35,8 @@ describe SPDX do
let(:tmp_json_path) { Pathname.new(TEST_TMPDIR) }
after do
FileUtils.rm tmp_json_path/"spdx_licenses.json"
FileUtils.rm tmp_json_path/"spdx_exceptions.json"
FileUtils.rm_f tmp_json_path/"spdx_licenses.json"
FileUtils.rm_f tmp_json_path/"spdx_exceptions.json"
end
it "downloads latest license data" do