Commit e88770a1 authored by Luke Duncalfe's avatar Luke Duncalfe

Merge branch 'rspec-empty-line-after-letitbe-ee-spec-timebox' into 'master'

Fix RSpec/EmptyLineAfterFinalLetItBe in timebox_report_service_spec.rb

See merge request gitlab-org/gitlab!58317
parents edc8e9f1 49a6c91a
......@@ -637,7 +637,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/support/shared_examples/graphql/geo/geo_registries_resolver_shared_examples.rb
- ee/spec/support/shared_examples/graphql/mutations/set_multiple_assignees_shared_examples.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