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
12b0d1f0
Commit
12b0d1f0
authored
Apr 12, 2021
by
Abdul Wadood
Committed by
Igor Drozdov
Apr 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix RSpec/EmptyLineAfterFinalLetItBe for ee/spec/services/ci
parent
0e462768
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
14 additions
and
9 deletions
+14
-9
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-9
ee/changelogs/unreleased/rspec-empty-lines-after-letitbe-ee-spec-ci.yml
...unreleased/rspec-empty-lines-after-letitbe-ee-spec-ci.yml
+5
-0
ee/spec/services/ci/audit_variable_change_service_spec.rb
ee/spec/services/ci/audit_variable_change_service_spec.rb
+1
-0
ee/spec/services/ci/compare_license_scanning_reports_service_spec.rb
...vices/ci/compare_license_scanning_reports_service_spec.rb
+1
-0
ee/spec/services/ci/compare_metrics_reports_service_spec.rb
ee/spec/services/ci/compare_metrics_reports_service_spec.rb
+1
-0
ee/spec/services/ci/compare_security_reports_service_spec.rb
ee/spec/services/ci/compare_security_reports_service_spec.rb
+1
-0
ee/spec/services/ci/create_pipeline_service/needs_spec.rb
ee/spec/services/ci/create_pipeline_service/needs_spec.rb
+1
-0
ee/spec/services/ci/create_pipeline_service_spec.rb
ee/spec/services/ci/create_pipeline_service_spec.rb
+1
-0
ee/spec/services/ci/external_pull_requests/process_github_event_service_spec.rb
...ternal_pull_requests/process_github_event_service_spec.rb
+1
-0
ee/spec/services/ci/pipeline_bridge_status_service_spec.rb
ee/spec/services/ci/pipeline_bridge_status_service_spec.rb
+1
-0
ee/spec/services/ci/register_job_service_spec.rb
ee/spec/services/ci/register_job_service_spec.rb
+1
-0
No files found.
.rubocop_manual_todo.yml
View file @
12b0d1f0
...
@@ -738,15 +738,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
...
@@ -738,15 +738,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
-
ee/spec/services/award_emojis/destroy_service_spec.rb
-
ee/spec/services/award_emojis/destroy_service_spec.rb
-
ee/spec/services/billable_members/destroy_service_spec.rb
-
ee/spec/services/billable_members/destroy_service_spec.rb
-
ee/spec/services/boards/epic_boards/destroy_service_spec.rb
-
ee/spec/services/boards/epic_boards/destroy_service_spec.rb
-
ee/spec/services/ci/audit_variable_change_service_spec.rb
-
ee/spec/services/ci/compare_license_scanning_reports_service_spec.rb
-
ee/spec/services/ci/compare_metrics_reports_service_spec.rb
-
ee/spec/services/ci/compare_security_reports_service_spec.rb
-
ee/spec/services/ci/create_pipeline_service/needs_spec.rb
-
ee/spec/services/ci/create_pipeline_service_spec.rb
-
ee/spec/services/ci/external_pull_requests/process_github_event_service_spec.rb
-
ee/spec/services/ci/pipeline_bridge_status_service_spec.rb
-
ee/spec/services/ci/register_job_service_spec.rb
-
ee/spec/services/clusters/agent_tokens/create_service_spec.rb
-
ee/spec/services/clusters/agent_tokens/create_service_spec.rb
-
ee/spec/services/compliance_management/frameworks/create_service_spec.rb
-
ee/spec/services/compliance_management/frameworks/create_service_spec.rb
-
ee/spec/services/compliance_management/frameworks/update_service_spec.rb
-
ee/spec/services/compliance_management/frameworks/update_service_spec.rb
...
...
ee/changelogs/unreleased/rspec-empty-lines-after-letitbe-ee-spec-ci.yml
0 → 100644
View file @
12b0d1f0
---
title
:
Fix RSpec/EmptyLineAfterFinalLetItBe rubocop offenses in ee/spec/services/ci
merge_request
:
58354
author
:
Abdul Wadood @abdulwd
type
:
fixed
ee/spec/services/ci/audit_variable_change_service_spec.rb
View file @
12b0d1f0
...
@@ -6,6 +6,7 @@ RSpec.describe Ci::AuditVariableChangeService do
...
@@ -6,6 +6,7 @@ RSpec.describe Ci::AuditVariableChangeService do
subject
(
:execute
)
{
service
.
execute
}
subject
(
:execute
)
{
service
.
execute
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let
(
:group
)
{
create
(
:group
)
}
let
(
:group
)
{
create
(
:group
)
}
let
(
:variable
)
{
create
(
:ci_group_variable
)
}
let
(
:variable
)
{
create
(
:ci_group_variable
)
}
...
...
ee/spec/services/ci/compare_license_scanning_reports_service_spec.rb
View file @
12b0d1f0
...
@@ -6,6 +6,7 @@ RSpec.describe Ci::CompareLicenseScanningReportsService do
...
@@ -6,6 +6,7 @@ RSpec.describe Ci::CompareLicenseScanningReportsService do
include
ProjectForksHelper
include
ProjectForksHelper
let_it_be
(
:project
)
{
create
(
:project
,
:repository
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:service
)
{
described_class
.
new
(
project
,
nil
)
}
let
(
:service
)
{
described_class
.
new
(
project
,
nil
)
}
before
do
before
do
...
...
ee/spec/services/ci/compare_metrics_reports_service_spec.rb
View file @
12b0d1f0
...
@@ -4,6 +4,7 @@ require 'spec_helper'
...
@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec
.
describe
Ci
::
CompareMetricsReportsService
do
RSpec
.
describe
Ci
::
CompareMetricsReportsService
do
let_it_be
(
:project
)
{
create
(
:project
,
:repository
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:service
)
{
described_class
.
new
(
project
)
}
let
(
:service
)
{
described_class
.
new
(
project
)
}
before
do
before
do
...
...
ee/spec/services/ci/compare_security_reports_service_spec.rb
View file @
12b0d1f0
...
@@ -4,6 +4,7 @@ require 'spec_helper'
...
@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec
.
describe
Ci
::
CompareSecurityReportsService
do
RSpec
.
describe
Ci
::
CompareSecurityReportsService
do
let_it_be
(
:project
)
{
create
(
:project
,
:repository
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:current_user
)
{
project
.
owner
}
let
(
:current_user
)
{
project
.
owner
}
def
collect_ids
(
collection
)
def
collect_ids
(
collection
)
...
...
ee/spec/services/ci/create_pipeline_service/needs_spec.rb
View file @
12b0d1f0
...
@@ -4,6 +4,7 @@ require 'spec_helper'
...
@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec
.
describe
Ci
::
CreatePipelineService
do
RSpec
.
describe
Ci
::
CreatePipelineService
do
let_it_be
(
:downstream_project
)
{
create
(
:project
,
name:
'project'
,
namespace:
create
(
:namespace
,
name:
'some'
))
}
let_it_be
(
:downstream_project
)
{
create
(
:project
,
name:
'project'
,
namespace:
create
(
:namespace
,
name:
'some'
))
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:user
)
{
project
.
owner
}
let
(
:user
)
{
project
.
owner
}
let
(
:service
)
{
described_class
.
new
(
project
,
user
,
{
ref:
'refs/heads/master'
})
}
let
(
:service
)
{
described_class
.
new
(
project
,
user
,
{
ref:
'refs/heads/master'
})
}
...
...
ee/spec/services/ci/create_pipeline_service_spec.rb
View file @
12b0d1f0
...
@@ -8,6 +8,7 @@ RSpec.describe Ci::CreatePipelineService, '#execute' do
...
@@ -8,6 +8,7 @@ RSpec.describe Ci::CreatePipelineService, '#execute' do
let_it_be
(
:plan_limits
)
{
create
(
:plan_limits
,
plan:
ultimate_plan
)
}
let_it_be
(
:plan_limits
)
{
create
(
:plan_limits
,
plan:
ultimate_plan
)
}
let_it_be
(
:project
,
reload:
true
)
{
create
(
:project
,
:repository
,
namespace:
namespace
)
}
let_it_be
(
:project
,
reload:
true
)
{
create
(
:project
,
:repository
,
namespace:
namespace
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let_it_be
(
:user
)
{
create
(
:user
)
}
let
(
:ref_name
)
{
'master'
}
let
(
:ref_name
)
{
'master'
}
let
(
:service
)
do
let
(
:service
)
do
...
...
ee/spec/services/ci/external_pull_requests/process_github_event_service_spec.rb
View file @
12b0d1f0
...
@@ -5,6 +5,7 @@ require 'spec_helper'
...
@@ -5,6 +5,7 @@ require 'spec_helper'
RSpec
.
describe
Ci
::
ExternalPullRequests
::
ProcessGithubEventService
do
RSpec
.
describe
Ci
::
ExternalPullRequests
::
ProcessGithubEventService
do
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
(
:action
)
{
'opened'
}
let
(
:action
)
{
'opened'
}
let
(
:params
)
do
let
(
:params
)
do
{
{
...
...
ee/spec/services/ci/pipeline_bridge_status_service_spec.rb
View file @
12b0d1f0
...
@@ -4,6 +4,7 @@ require 'spec_helper'
...
@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec
.
describe
Ci
::
PipelineBridgeStatusService
do
RSpec
.
describe
Ci
::
PipelineBridgeStatusService
do
let_it_be
(
:project
)
{
create
(
:project
)
}
let_it_be
(
:project
)
{
create
(
:project
)
}
let
(
:user
)
{
build
(
:user
)
}
let
(
:user
)
{
build
(
:user
)
}
let
(
:pipeline
)
{
build
(
:ci_pipeline
,
project:
project
)
}
let
(
:pipeline
)
{
build
(
:ci_pipeline
,
project:
project
)
}
...
...
ee/spec/services/ci/register_job_service_spec.rb
View file @
12b0d1f0
...
@@ -4,6 +4,7 @@ require 'spec_helper'
...
@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec
.
describe
Ci
::
RegisterJobService
do
RSpec
.
describe
Ci
::
RegisterJobService
do
let_it_be
(
:shared_runner
)
{
create
(
:ci_runner
,
:instance
)
}
let_it_be
(
:shared_runner
)
{
create
(
:ci_runner
,
:instance
)
}
let!
(
:project
)
{
create
:project
,
shared_runners_enabled:
true
}
let!
(
:project
)
{
create
:project
,
shared_runners_enabled:
true
}
let!
(
:pipeline
)
{
create
:ci_empty_pipeline
,
project:
project
}
let!
(
:pipeline
)
{
create
:ci_empty_pipeline
,
project:
project
}
let!
(
:pending_build
)
{
create
:ci_build
,
pipeline:
pipeline
}
let!
(
:pending_build
)
{
create
:ci_build
,
pipeline:
pipeline
}
...
...
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