Commit 111531e1 authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'dbgrr-finder-spec-description' into 'master'

Add specificity to DailyBuildGroupReportResult finder spec descriptions

See merge request gitlab-org/gitlab!50220
parents 28a86070 9f1286b4
......@@ -64,13 +64,13 @@ RSpec.describe Ci::DailyBuildGroupReportResultsFinder do
end
end
context 'when ref_path is not present' do
context 'when ref_path query parameter is not present' do
let(:ref_path) { nil }
context 'when coverages exist for the default branch' do
context 'when records with cover data from the default branch exist' do
let(:default_branch) { true }
it 'returns coverage for the default branch' do
it 'returns records with default_branch:true, irrespective of ref_path' do
rspec_coverage_4 = create_daily_coverage('rspec', 66.0, '2020-03-10')
expect(coverages).to contain_exactly(rspec_coverage_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