Commit 5a367ce2 authored by Robert May's avatar Robert May

Fix indentation for rubocop

parent dc876469
......@@ -6,9 +6,11 @@ describe Gitlab::Ci::Parsers::Security::Formatters::Dast do
let(:formatter) { described_class.new(parsed_report) }
let(:parsed_report) do
Gitlab::Json.parse!(File.read(
Gitlab::Json.parse!(
File.read(
Rails.root.join('ee/spec/fixtures/security_reports/deprecated/gl-dast-report-no-common-fields.json')
))
)
)
end
describe '#format_vulnerability' do
......
......@@ -8,9 +8,11 @@ describe Gitlab::Ci::Parsers::Security::Formatters::DependencyList do
let(:sha) { '4242424242424242' }
let(:parsed_report) do
Gitlab::Json.parse!(File.read(
Gitlab::Json.parse!(
File.read(
Rails.root.join('ee/spec/fixtures/security_reports/dependency_list/gl-dependency-scanning-report.json')
))
)
)
end
describe '#format' do
......
......@@ -7,9 +7,11 @@ describe Gitlab::Ci::Parsers::Security::Formatters::DeprecatedContainerScanning
describe '#format' do
let(:raw_report) do
Gitlab::Json.parse!(File.read(
Gitlab::Json.parse!(
File.read(
Rails.root.join('ee/spec/fixtures/security_reports/deprecated/gl-container-scanning-report.json')
))
)
)
end
it 'formats the vulnerability into the 1.3 format' do
......
......@@ -4,9 +4,11 @@ require 'spec_helper'
describe Gitlab::Ci::Parsers::Security::Formatters::DeprecatedFormattedContainerScanningVulnerability do
let(:raw_report) do
Gitlab::Json.parse!(File.read(
Gitlab::Json.parse!(
File.read(
Rails.root.join('ee/spec/fixtures/security_reports/deprecated/gl-container-scanning-report.json')
))
)
)
end
let(:vulnerability) { raw_report['vulnerabilities'].first }
......
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