Commit 49a6c91a authored by Abdul Wadood's avatar Abdul Wadood Committed by Luke Duncalfe

Fix RSpec/EmptyLineAfterFinalLetItBe

parent 143bbd46
......@@ -814,7 +814,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- ee/spec/services/status_page/publish_service_spec.rb
- ee/spec/services/status_page/trigger_publish_service_spec.rb
- ee/spec/services/status_page/unpublish_details_service_spec.rb
- ee/spec/services/timebox_report_service_spec.rb
- ee/spec/services/todo_service_spec.rb
- ee/spec/services/vulnerabilities/confirm_service_spec.rb
- ee/spec/services/vulnerabilities/create_service_spec.rb
......
---
title: Fix RSpec/EmptyLineAfterFinalLetItBe rubocop offenses in timebox_report_service_spec.rb
merge_request: 58317
author: Abdul Wadood @abdulwd
type: fixed
......@@ -303,6 +303,7 @@ RSpec.describe TimeboxReportService do
context 'milestone charts' do
let_it_be(:timebox, reload: true) { create(:milestone, project: project, start_date: timebox_start_date, due_date: timebox_end_date) }
let_it_be(:another_timebox) { create(:milestone, project: project) }
let(:timebox_without_dates) { build(:milestone, project: project) }
it_behaves_like 'timebox chart', 'milestone'
......@@ -311,6 +312,7 @@ RSpec.describe TimeboxReportService do
context 'iteration charts' do
let_it_be(:timebox, reload: true) { create(:iteration, group: group, start_date: timebox_start_date, due_date: timebox_end_date) }
let_it_be(:another_timebox) { create(:iteration, group: group, start_date: timebox_end_date + 1.day, due_date: timebox_end_date + 15.days) }
let(:timebox_without_dates) { build(:iteration, group: group, start_date: nil, due_date: nil) }
it_behaves_like 'timebox chart', 'iteration'
......
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