Commit b7b0cca9 authored by Tetiana Chupryna's avatar Tetiana Chupryna Committed by Heinrich Lee Yu

Fix fixture path issue

parent ad0aed37
......@@ -7,7 +7,7 @@ describe Gitlab::Ci::Parsers::LicenseCompliance::LicenseScanning do
let(:report) { Gitlab::Ci::Reports::LicenseScanning::Report.new }
context 'when parsing a valid v1 report' do
let(:v1_json) { fixture_file('security_reports/master/gl-license-management-report.json', dir: 'ee') }
let(:v1_json) { fixture_file('security_reports/master/gl-license-scanning-report.json', dir: 'ee') }
before do
subject.parse!(v1_json, report)
......
......@@ -270,7 +270,7 @@ describe Gitlab::Ci::Reports::LicenseScanning::Report do
context 'when parsing a v1 report' do
subject { described_class.parse_from(v1_json) }
let(:v1_json) { fixture_file('security_reports/master/gl-license-management-report.json', dir: 'ee') }
let(:v1_json) { fixture_file('security_reports/master/gl-license-scanning-report.json', dir: 'ee') }
it { expect(subject.version).to eql('1.0') }
it { expect(subject.licenses.count).to eq(4) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment