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
f81a9378
Commit
f81a9378
authored
Apr 09, 2021
by
Abdul Wadood
Committed by
Mayra Cabrera
Apr 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix RSpec/EmptyLineAfterFinalLetItBe for ee/spec/presenters
parent
143bbd46
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-2
ee/changelogs/unreleased/rspec-empty-lines-after-letitbe-ee-spec-presenters.yml
...ed/rspec-empty-lines-after-letitbe-ee-spec-presenters.yml
+5
-0
ee/spec/presenters/approval_rule_presenter_spec.rb
ee/spec/presenters/approval_rule_presenter_spec.rb
+1
-0
ee/spec/presenters/ci/pipeline_presenter_spec.rb
ee/spec/presenters/ci/pipeline_presenter_spec.rb
+1
-0
No files found.
.rubocop_manual_todo.yml
View file @
f81a9378
...
...
@@ -642,8 +642,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
-
ee/spec/policies/merge_request_policy_spec.rb
-
ee/spec/policies/project_policy_spec.rb
-
ee/spec/policies/vulnerabilities/issue_link_policy_spec.rb
-
ee/spec/presenters/approval_rule_presenter_spec.rb
-
ee/spec/presenters/ci/pipeline_presenter_spec.rb
-
ee/spec/requests/api/analytics/code_review_analytics_spec.rb
-
ee/spec/requests/api/audit_events_spec.rb
-
ee/spec/requests/api/commits_spec.rb
...
...
ee/changelogs/unreleased/rspec-empty-lines-after-letitbe-ee-spec-presenters.yml
0 → 100644
View file @
f81a9378
---
title
:
Fix RSpec/EmptyLineAfterFinalLetItBe rubocop offenses in ee/spec/presenters
merge_request
:
58369
author
:
Abdul Wadood @abdulwd
type
:
fixed
ee/spec/presenters/approval_rule_presenter_spec.rb
View file @
f81a9378
...
...
@@ -6,6 +6,7 @@ RSpec.describe ApprovalRulePresenter do
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:public_group
)
{
create
(
:group
)
}
let_it_be
(
:private_group
)
{
create
(
:group
,
:private
)
}
let
(
:groups
)
{
[
public_group
,
private_group
]
}
subject
(
:presenter
)
{
described_class
.
new
(
rule
,
current_user:
user
)
}
...
...
ee/spec/presenters/ci/pipeline_presenter_spec.rb
View file @
f81a9378
...
...
@@ -148,6 +148,7 @@ RSpec.describe Ci::PipelinePresenter do
describe
'#degradation_threshold'
do
let_it_be
(
:pipeline
,
reload:
true
)
{
create
(
:ee_ci_pipeline
,
:with_browser_performance_report
,
project:
project
)
}
let
(
:current_user
)
{
create
(
:user
)
}
before
do
...
...
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