Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
49a6c91a
Commit
49a6c91a
authored
Apr 11, 2021
by
Abdul Wadood
Committed by
Luke Duncalfe
Apr 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix RSpec/EmptyLineAfterFinalLetItBe
parent
143bbd46
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-1
ee/changelogs/unreleased/rspec-empty-lines-after-letitbe-ee-spec-timebox.yml
...eased/rspec-empty-lines-after-letitbe-ee-spec-timebox.yml
+5
-0
ee/spec/services/timebox_report_service_spec.rb
ee/spec/services/timebox_report_service_spec.rb
+2
-0
No files found.
.rubocop_manual_todo.yml
View file @
49a6c91a
...
...
@@ -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
...
...
ee/changelogs/unreleased/rspec-empty-lines-after-letitbe-ee-spec-timebox.yml
0 → 100644
View file @
49a6c91a
---
title
:
Fix RSpec/EmptyLineAfterFinalLetItBe rubocop offenses in timebox_report_service_spec.rb
merge_request
:
58317
author
:
Abdul Wadood @abdulwd
type
:
fixed
ee/spec/services/timebox_report_service_spec.rb
View file @
49a6c91a
...
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment