Commit 3e9791eb authored by Abdul Wadood's avatar Abdul Wadood Committed by Mayra Cabrera

Fix RSpec/EmptyLineAfterFinalLetItBe for ee/spec/services/geo

parent 143bbd46
...@@ -768,11 +768,6 @@ RSpec/EmptyLineAfterFinalLetItBe: ...@@ -768,11 +768,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- ee/spec/services/external_approval_rules/create_service_spec.rb - 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/destroy_service_spec.rb
- ee/spec/services/external_approval_rules/update_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/activate_service_spec.rb
- ee/spec/services/gitlab_subscriptions/apply_trial_service_spec.rb - ee/spec/services/gitlab_subscriptions/apply_trial_service_spec.rb
- ee/spec/services/groups/autocomplete_service_spec.rb - ee/spec/services/groups/autocomplete_service_spec.rb
......
---
title: Fix RSpec/EmptyLineAfterFinalLetItBe rubocop offenses in ee/spec/services/geo
merge_request: 58348
author: Abdul Wadood @abdulwd
type: fixed
...@@ -8,6 +8,7 @@ RSpec.describe Geo::BlobDownloadService do ...@@ -8,6 +8,7 @@ RSpec.describe Geo::BlobDownloadService do
let_it_be(:primary) { create(:geo_node, :primary) } let_it_be(:primary) { create(:geo_node, :primary) }
let_it_be(:secondary) { create(:geo_node) } let_it_be(:secondary) { create(:geo_node) }
let(:model_record) { create(:package_file, :npm) } let(:model_record) { create(:package_file, :npm) }
let(:replicator) { model_record.replicator } let(:replicator) { model_record.replicator }
let(:registry_class) { replicator.registry_class } let(:registry_class) { replicator.registry_class }
......
...@@ -8,6 +8,7 @@ RSpec.describe Geo::DesignRepositorySyncService do ...@@ -8,6 +8,7 @@ RSpec.describe Geo::DesignRepositorySyncService do
let_it_be(:primary) { create(:geo_node, :primary) } let_it_be(:primary) { create(:geo_node, :primary) }
let_it_be(:secondary) { create(:geo_node) } let_it_be(:secondary) { create(:geo_node) }
let(:user) { create(:user) } let(:user) { create(:user) }
let(:project) { create(:project_empty_repo, namespace: create(:namespace, owner: user)) } let(:project) { create(:project_empty_repo, namespace: create(:namespace, owner: user)) }
......
...@@ -7,6 +7,7 @@ RSpec.describe Geo::EventService do ...@@ -7,6 +7,7 @@ RSpec.describe Geo::EventService do
let_it_be(:primary) { create(:geo_node, :primary) } let_it_be(:primary) { create(:geo_node, :primary) }
let_it_be(:secondary) { create(:geo_node) } let_it_be(:secondary) { create(:geo_node) }
let(:model_record) { create(:package_file, :npm) } let(:model_record) { create(:package_file, :npm) }
subject { described_class.new('package_file', 'created', { 'model_record_id' => model_record.id }) } subject { described_class.new('package_file', 'created', { 'model_record_id' => model_record.id }) }
......
...@@ -324,6 +324,7 @@ RSpec.describe Geo::FileRegistryRemovalService, :geo do ...@@ -324,6 +324,7 @@ RSpec.describe Geo::FileRegistryRemovalService, :geo do
context 'with namespace_file' do context 'with namespace_file' do
let_it_be(:group) { create(:group) } let_it_be(:group) { create(:group) }
let(:file) { fixture_file_upload('spec/fixtures/dk.png', 'image/png') } let(:file) { fixture_file_upload('spec/fixtures/dk.png', 'image/png') }
let!(:upload) do let!(:upload) do
NamespaceFileUploader.new(group).store!(file) NamespaceFileUploader.new(group).store!(file)
......
...@@ -9,6 +9,7 @@ RSpec.describe Geo::ProjectHousekeepingService do ...@@ -9,6 +9,7 @@ RSpec.describe Geo::ProjectHousekeepingService do
subject(:service) { described_class.new(project) } subject(:service) { described_class.new(project) }
let_it_be(:project) { create(:project, :repository) } let_it_be(:project) { create(:project, :repository) }
let(:registry) { service.registry } let(:registry) { service.registry }
before do before do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment