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
25ec415a
Commit
25ec415a
authored
Apr 14, 2021
by
Huzaifa Iftikhar
Committed by
Matthias Käppler
Apr 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix EmptyLineAfterFinalLetItBe offenses in spec/services/environments
parent
cedcd442
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
3 deletions
+9
-3
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-3
changelogs/unreleased/issue-325836-fix-empty-line-after-let-it-be-services-environments.yml
...-fix-empty-line-after-let-it-be-services-environments.yml
+5
-0
spec/services/environments/auto_stop_service_spec.rb
spec/services/environments/auto_stop_service_spec.rb
+2
-0
spec/services/environments/canary_ingress/update_service_spec.rb
...rvices/environments/canary_ingress/update_service_spec.rb
+1
-0
spec/services/environments/reset_auto_stop_service_spec.rb
spec/services/environments/reset_auto_stop_service_spec.rb
+1
-0
No files found.
.rubocop_manual_todo.yml
View file @
25ec415a
...
@@ -968,9 +968,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
...
@@ -968,9 +968,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
-
spec/services/design_management/save_designs_service_spec.rb
-
spec/services/design_management/save_designs_service_spec.rb
-
spec/services/discussions/resolve_service_spec.rb
-
spec/services/discussions/resolve_service_spec.rb
-
spec/services/discussions/unresolve_service_spec.rb
-
spec/services/discussions/unresolve_service_spec.rb
-
spec/services/environments/auto_stop_service_spec.rb
-
spec/services/environments/canary_ingress/update_service_spec.rb
-
spec/services/environments/reset_auto_stop_service_spec.rb
-
spec/services/feature_flags/create_service_spec.rb
-
spec/services/feature_flags/create_service_spec.rb
-
spec/services/feature_flags/destroy_service_spec.rb
-
spec/services/feature_flags/destroy_service_spec.rb
-
spec/services/feature_flags/disable_service_spec.rb
-
spec/services/feature_flags/disable_service_spec.rb
...
...
changelogs/unreleased/issue-325836-fix-empty-line-after-let-it-be-services-environments.yml
0 → 100644
View file @
25ec415a
---
title
:
Fix EmptyLineAfterFinalLetItBe offenses in spec/services/environments
merge_request
:
58418
author
:
Huzaifa Iftikhar @huzaifaiftikhar
type
:
fixed
spec/services/environments/auto_stop_service_spec.rb
View file @
25ec415a
...
@@ -8,6 +8,7 @@ RSpec.describe Environments::AutoStopService, :clean_gitlab_redis_shared_state d
...
@@ -8,6 +8,7 @@ RSpec.describe Environments::AutoStopService, :clean_gitlab_redis_shared_state d
let_it_be
(
:project
)
{
create
(
:project
,
:repository
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:repository
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let
(
:service
)
{
described_class
.
new
}
let
(
:service
)
{
described_class
.
new
}
before_all
do
before_all
do
...
@@ -19,6 +20,7 @@ RSpec.describe Environments::AutoStopService, :clean_gitlab_redis_shared_state d
...
@@ -19,6 +20,7 @@ RSpec.describe Environments::AutoStopService, :clean_gitlab_redis_shared_state d
let_it_be
(
:project
)
{
create
(
:project
,
:repository
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:repository
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let
(
:environments
)
{
Environment
.
all
}
let
(
:environments
)
{
Environment
.
all
}
before_all
do
before_all
do
...
...
spec/services/environments/canary_ingress/update_service_spec.rb
View file @
25ec415a
...
@@ -8,6 +8,7 @@ RSpec.describe Environments::CanaryIngress::UpdateService, :clean_gitlab_redis_c
...
@@ -8,6 +8,7 @@ RSpec.describe Environments::CanaryIngress::UpdateService, :clean_gitlab_redis_c
let_it_be
(
:project
,
refind:
true
)
{
create
(
:project
)
}
let_it_be
(
:project
,
refind:
true
)
{
create
(
:project
)
}
let_it_be
(
:maintainer
)
{
create
(
:user
)
}
let_it_be
(
:maintainer
)
{
create
(
:user
)
}
let_it_be
(
:reporter
)
{
create
(
:user
)
}
let_it_be
(
:reporter
)
{
create
(
:user
)
}
let
(
:user
)
{
maintainer
}
let
(
:user
)
{
maintainer
}
let
(
:params
)
{
{}
}
let
(
:params
)
{
{}
}
let
(
:service
)
{
described_class
.
new
(
project
,
user
,
params
)
}
let
(
:service
)
{
described_class
.
new
(
project
,
user
,
params
)
}
...
...
spec/services/environments/reset_auto_stop_service_spec.rb
View file @
25ec415a
...
@@ -6,6 +6,7 @@ RSpec.describe Environments::ResetAutoStopService do
...
@@ -6,6 +6,7 @@ RSpec.describe Environments::ResetAutoStopService do
let_it_be
(
:project
)
{
create
(
:project
)
}
let_it_be
(
:project
)
{
create
(
:project
)
}
let_it_be
(
:developer
)
{
create
(
:user
).
tap
{
|
user
|
project
.
add_developer
(
user
)
}
}
let_it_be
(
:developer
)
{
create
(
:user
).
tap
{
|
user
|
project
.
add_developer
(
user
)
}
}
let_it_be
(
:reporter
)
{
create
(
:user
).
tap
{
|
user
|
project
.
add_reporter
(
user
)
}
}
let_it_be
(
:reporter
)
{
create
(
:user
).
tap
{
|
user
|
project
.
add_reporter
(
user
)
}
}
let
(
:user
)
{
developer
}
let
(
:user
)
{
developer
}
let
(
:service
)
{
described_class
.
new
(
project
,
user
)
}
let
(
:service
)
{
described_class
.
new
(
project
,
user
)
}
...
...
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