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
3e9791eb
Commit
3e9791eb
authored
Apr 05, 2021
by
Abdul Wadood
Committed by
Mayra Cabrera
Apr 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix RSpec/EmptyLineAfterFinalLetItBe for ee/spec/services/geo
parent
143bbd46
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
5 deletions
+10
-5
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-5
ee/changelogs/unreleased/rspec-empty-lines-after-letitbe-ee-spec-geo.yml
...nreleased/rspec-empty-lines-after-letitbe-ee-spec-geo.yml
+5
-0
ee/spec/services/geo/blob_download_service_spec.rb
ee/spec/services/geo/blob_download_service_spec.rb
+1
-0
ee/spec/services/geo/design_repository_sync_service_spec.rb
ee/spec/services/geo/design_repository_sync_service_spec.rb
+1
-0
ee/spec/services/geo/event_service_spec.rb
ee/spec/services/geo/event_service_spec.rb
+1
-0
ee/spec/services/geo/file_registry_removal_service_spec.rb
ee/spec/services/geo/file_registry_removal_service_spec.rb
+1
-0
ee/spec/services/geo/project_housekeeping_service_spec.rb
ee/spec/services/geo/project_housekeeping_service_spec.rb
+1
-0
No files found.
.rubocop_manual_todo.yml
View file @
3e9791eb
...
...
@@ -768,11 +768,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
-
ee/spec/services/external_approval_rules/create_service_spec.rb
-
ee/spec/services/external_approval_rules/destroy_service_spec.rb
-
ee/spec/services/external_approval_rules/update_service_spec.rb
-
ee/spec/services/geo/blob_download_service_spec.rb
-
ee/spec/services/geo/design_repository_sync_service_spec.rb
-
ee/spec/services/geo/event_service_spec.rb
-
ee/spec/services/geo/file_registry_removal_service_spec.rb
-
ee/spec/services/geo/project_housekeeping_service_spec.rb
-
ee/spec/services/gitlab_subscriptions/activate_service_spec.rb
-
ee/spec/services/gitlab_subscriptions/apply_trial_service_spec.rb
-
ee/spec/services/groups/autocomplete_service_spec.rb
...
...
ee/changelogs/unreleased/rspec-empty-lines-after-letitbe-ee-spec-geo.yml
0 → 100644
View file @
3e9791eb
---
title
:
Fix RSpec/EmptyLineAfterFinalLetItBe rubocop offenses in ee/spec/services/geo
merge_request
:
58348
author
:
Abdul Wadood @abdulwd
type
:
fixed
ee/spec/services/geo/blob_download_service_spec.rb
View file @
3e9791eb
...
...
@@ -8,6 +8,7 @@ RSpec.describe Geo::BlobDownloadService do
let_it_be
(
:primary
)
{
create
(
:geo_node
,
:primary
)
}
let_it_be
(
:secondary
)
{
create
(
:geo_node
)
}
let
(
:model_record
)
{
create
(
:package_file
,
:npm
)
}
let
(
:replicator
)
{
model_record
.
replicator
}
let
(
:registry_class
)
{
replicator
.
registry_class
}
...
...
ee/spec/services/geo/design_repository_sync_service_spec.rb
View file @
3e9791eb
...
...
@@ -8,6 +8,7 @@ RSpec.describe Geo::DesignRepositorySyncService do
let_it_be
(
:primary
)
{
create
(
:geo_node
,
:primary
)
}
let_it_be
(
:secondary
)
{
create
(
:geo_node
)
}
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project_empty_repo
,
namespace:
create
(
:namespace
,
owner:
user
))
}
...
...
ee/spec/services/geo/event_service_spec.rb
View file @
3e9791eb
...
...
@@ -7,6 +7,7 @@ RSpec.describe Geo::EventService do
let_it_be
(
:primary
)
{
create
(
:geo_node
,
:primary
)
}
let_it_be
(
:secondary
)
{
create
(
:geo_node
)
}
let
(
:model_record
)
{
create
(
:package_file
,
:npm
)
}
subject
{
described_class
.
new
(
'package_file'
,
'created'
,
{
'model_record_id'
=>
model_record
.
id
})
}
...
...
ee/spec/services/geo/file_registry_removal_service_spec.rb
View file @
3e9791eb
...
...
@@ -324,6 +324,7 @@ RSpec.describe Geo::FileRegistryRemovalService, :geo do
context
'with namespace_file'
do
let_it_be
(
:group
)
{
create
(
:group
)
}
let
(
:file
)
{
fixture_file_upload
(
'spec/fixtures/dk.png'
,
'image/png'
)
}
let!
(
:upload
)
do
NamespaceFileUploader
.
new
(
group
).
store!
(
file
)
...
...
ee/spec/services/geo/project_housekeeping_service_spec.rb
View file @
3e9791eb
...
...
@@ -9,6 +9,7 @@ RSpec.describe Geo::ProjectHousekeepingService do
subject
(
:service
)
{
described_class
.
new
(
project
)
}
let_it_be
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:registry
)
{
service
.
registry
}
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