Commit 6c6d924c authored by Jonathan Schafer's avatar Jonathan Schafer

Fix code styling

parent 268f0ebe
......@@ -1277,12 +1277,13 @@ RSpec.describe MergeRequest do
subject { merge_request.security_reports_up_to_date? }
context 'when the target branch security reports are up to date' do
it { is_expected.to be_truthy }
it { is_expected.to be true }
end
context 'when the target branch security reports are out of date' do
let_it_be(:bad_pipeline) { create(:ee_ci_pipeline, :failed, project: project, ref: merge_request.target_branch) }
it { is_expected.to be_falsy }
it { is_expected.to be false }
end
end
end
......@@ -1723,12 +1723,13 @@ RSpec.describe Project do
subject { project.security_reports_up_to_date_for_ref?(merge_request.target_branch) }
context 'when the target branch security reports are up to date' do
it { is_expected.to be_truthy }
it { is_expected.to be true }
end
context 'when the target branch security reports are out of date' do
let_it_be(:bad_pipeline) { create(:ee_ci_pipeline, :failed, project: project, ref: merge_request.target_branch) }
it { is_expected.to be_falsy }
it { is_expected.to be false }
end
end
......
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