Commit 36dfc42e authored by Luke Duncalfe's avatar Luke Duncalfe

Merge branch 'rspec-empty-line-after-letitbe-ee-spec-services-auto-merge' into 'master'

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

See merge request gitlab-org/gitlab!58358
parents 2d84e5fc 214d1ea9
......@@ -578,8 +578,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- ee/spec/services/alert_management/process_prometheus_alert_service_spec.rb
- ee/spec/services/approval_rules/create_service_spec.rb
- ee/spec/services/audit_event_service_spec.rb
- ee/spec/services/auto_merge/add_to_merge_train_when_pipeline_succeeds_service_spec.rb
- ee/spec/services/auto_merge/merge_train_service_spec.rb
- ee/spec/services/award_emojis/add_service_spec.rb
- ee/spec/services/award_emojis/destroy_service_spec.rb
- ee/spec/services/billable_members/destroy_service_spec.rb
......
---
title: Fix RSpec/EmptyLineAfterFinalLetItBe rubocop offenses in ee/spec/services/auto_merge
merge_request: 58358
author: Abdul Wadood @abdulwd
type: fixed
......@@ -5,6 +5,7 @@ require 'spec_helper'
RSpec.describe AutoMerge::AddToMergeTrainWhenPipelineSucceedsService do
let_it_be(:project, reload: true) { create(:project, :repository) }
let_it_be(:user) { create(:user) }
let(:service) { described_class.new(project, user) }
let(:merge_request) do
......
......@@ -7,6 +7,7 @@ RSpec.describe AutoMerge::MergeTrainService do
let_it_be(:project) { create(:project, :repository, merge_pipelines_enabled: true, merge_trains_enabled: true) }
let_it_be(:user) { create(:user) }
let(:service) { described_class.new(project, user, params) }
let(:params) { {} }
......
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