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
6bcb7ab3
Commit
6bcb7ab3
authored
Apr 12, 2021
by
Huzaifa Iftikhar
Committed by
Markus Koller
Apr 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix EmptyLineAfterFinalLetItBe offenses in spec/services/groups
parent
92c9b69c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
4 deletions
+11
-4
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-4
changelogs/unreleased/issue-325836-fix-empty-line-after-let-it-be-services-groups.yml
...325836-fix-empty-line-after-let-it-be-services-groups.yml
+5
-0
spec/services/groups/auto_devops_service_spec.rb
spec/services/groups/auto_devops_service_spec.rb
+1
-0
spec/services/groups/group_links/update_service_spec.rb
spec/services/groups/group_links/update_service_spec.rb
+1
-0
spec/services/groups/transfer_service_spec.rb
spec/services/groups/transfer_service_spec.rb
+3
-0
spec/services/groups/update_shared_runners_service_spec.rb
spec/services/groups/update_shared_runners_service_spec.rb
+1
-0
No files found.
.rubocop_manual_todo.yml
View file @
6bcb7ab3
...
...
@@ -1003,10 +1003,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
-
spec/services/feature_flags/enable_service_spec.rb
-
spec/services/feature_flags/update_service_spec.rb
-
spec/services/git/branch_push_service_spec.rb
-
spec/services/groups/auto_devops_service_spec.rb
-
spec/services/groups/group_links/update_service_spec.rb
-
spec/services/groups/transfer_service_spec.rb
-
spec/services/groups/update_shared_runners_service_spec.rb
-
spec/services/import/bitbucket_server_service_spec.rb
-
spec/services/incident_management/incidents/create_service_spec.rb
-
spec/services/incident_management/pager_duty/create_incident_issue_service_spec.rb
...
...
changelogs/unreleased/issue-325836-fix-empty-line-after-let-it-be-services-groups.yml
0 → 100644
View file @
6bcb7ab3
---
title
:
Fix EmptyLineAfterFinalLetItBe offenses in spec/services/groups
merge_request
:
58423
author
:
Huzaifa Iftikhar @huzaifaiftikhar
type
:
fixed
spec/services/groups/auto_devops_service_spec.rb
View file @
6bcb7ab3
...
...
@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec
.
describe
Groups
::
AutoDevopsService
,
'#execute'
do
let_it_be
(
:group
)
{
create
(
:group
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let
(
:group_params
)
{
{
auto_devops_enabled:
'0'
}
}
let
(
:service
)
{
described_class
.
new
(
group
,
user
,
group_params
)
}
...
...
spec/services/groups/group_links/update_service_spec.rb
View file @
6bcb7ab3
...
...
@@ -8,6 +8,7 @@ RSpec.describe Groups::GroupLinks::UpdateService, '#execute' do
let_it_be
(
:group
)
{
create
(
:group
,
:private
)
}
let_it_be
(
:shared_group
)
{
create
(
:group
,
:private
)
}
let_it_be
(
:project
)
{
create
(
:project
,
group:
shared_group
)
}
let
(
:group_member_user
)
{
create
(
:user
)
}
let!
(
:link
)
{
create
(
:group_group_link
,
shared_group:
shared_group
,
shared_with_group:
group
)
}
...
...
spec/services/groups/transfer_service_spec.rb
View file @
6bcb7ab3
...
...
@@ -5,12 +5,14 @@ require 'spec_helper'
RSpec
.
describe
Groups
::
TransferService
do
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:new_parent_group
)
{
create
(
:group
,
:public
)
}
let!
(
:group_member
)
{
create
(
:group_member
,
:owner
,
group:
group
,
user:
user
)
}
let
(
:transfer_service
)
{
described_class
.
new
(
group
,
user
)
}
context
'handling packages'
do
let_it_be
(
:group
)
{
create
(
:group
,
:public
)
}
let_it_be
(
:new_group
)
{
create
(
:group
,
:public
)
}
let
(
:project
)
{
create
(
:project
,
:public
,
namespace:
group
)
}
before
do
...
...
@@ -272,6 +274,7 @@ RSpec.describe Groups::TransferService do
context
'with a group integration'
do
let_it_be
(
:instance_integration
)
{
create
(
:slack_service
,
:instance
,
webhook:
'http://project.slack.com'
)
}
let
(
:new_created_integration
)
{
Service
.
find_by
(
group:
group
)
}
context
'with an inherited integration'
do
...
...
spec/services/groups/update_shared_runners_service_spec.rb
View file @
6bcb7ab3
...
...
@@ -59,6 +59,7 @@ RSpec.describe Groups::UpdateSharedRunnersService do
context
'disable shared Runners'
do
let_it_be
(
:group
)
{
create
(
:group
)
}
let
(
:params
)
{
{
shared_runners_setting:
'disabled_and_unoverridable'
}
}
it
'receives correct method and succeeds'
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