Commit 8118036c authored by Kerri Miller's avatar Kerri Miller

Merge branch 'issue#325836-fix-empty-line-after-let-it-be-services-design-management' into 'master'

Fix EmptyLineAfterFinalLetItBe in spec/services/design_management

See merge request gitlab-org/gitlab!58416
parents b03faed0 8875c967
......@@ -930,9 +930,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- spec/services/clusters/applications/prometheus_health_check_service_spec.rb
- spec/services/container_expiration_policy_service_spec.rb
- spec/services/dependency_proxy/find_or_create_manifest_service_spec.rb
- spec/services/design_management/copy_design_collection/copy_service_spec.rb
- spec/services/design_management/delete_designs_service_spec.rb
- spec/services/design_management/save_designs_service_spec.rb
- spec/services/discussions/resolve_service_spec.rb
- spec/services/discussions/unresolve_service_spec.rb
- spec/services/feature_flags/create_service_spec.rb
......
---
title: Fix EmptyLineAfterFinalLetItBe in spec/services/design_management
merge_request: 58416
author: Huzaifa Iftikhar @huzaifaiftikhar
type: fixed
......@@ -7,6 +7,7 @@ RSpec.describe DesignManagement::CopyDesignCollection::CopyService, :clean_gitla
let_it_be(:user) { create(:user) }
let_it_be(:project) { create(:project) }
let_it_be(:issue, refind: true) { create(:issue, project: project) }
let(:target_issue) { create(:issue) }
subject { described_class.new(project, user, issue: issue, target_issue: target_issue).execute }
......
......@@ -7,6 +7,7 @@ RSpec.describe DesignManagement::DeleteDesignsService do
let_it_be(:project) { create(:project) }
let_it_be(:issue) { create(:issue, project: project) }
let_it_be(:user) { create(:user) }
let(:designs) { create_designs }
subject(:service) { described_class.new(project, user, issue: issue, designs: designs) }
......
......@@ -7,6 +7,7 @@ RSpec.describe DesignManagement::SaveDesignsService do
let_it_be_with_reload(:issue) { create(:issue) }
let_it_be(:developer) { create(:user, developer_projects: [issue.project]) }
let(:project) { issue.project }
let(:user) { developer }
let(:files) { [rails_sample] }
......
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