Commit 50cf235d authored by Michael Kozono's avatar Michael Kozono

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

Fix EmptyLineAfterFinalLetItBe offenses for design management module

See merge request gitlab-org/gitlab!58189
parents 5401b3e8 0b86efed
......@@ -685,8 +685,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- spec/finders/ci/commit_statuses_finder_spec.rb
- spec/finders/container_repositories_finder_spec.rb
- spec/finders/deployments_finder_spec.rb
- spec/finders/design_management/designs_finder_spec.rb
- spec/finders/design_management/versions_finder_spec.rb
- spec/finders/events_finder_spec.rb
- spec/finders/group_descendants_finder_spec.rb
- spec/finders/groups_finder_spec.rb
......
---
title: Fix EmptyLineAfterFinalLetItBe offenses for design management module
merge_request: 58189
author: Huzaifa Iftikhar @huzaifaiftikhar
type: fixed
......@@ -11,6 +11,7 @@ RSpec.describe DesignManagement::DesignsFinder do
let_it_be(:design1) { create(:design, :with_file, issue: issue, versions_count: 1, relative_position: 3) }
let_it_be(:design2) { create(:design, :with_file, issue: issue, versions_count: 1, relative_position: 2) }
let_it_be(:design3) { create(:design, :with_file, issue: issue, versions_count: 1, relative_position: 1) }
let(:params) { {} }
subject(:designs) { described_class.new(issue, user, params).execute }
......
......@@ -10,6 +10,7 @@ RSpec.describe DesignManagement::VersionsFinder do
let_it_be(:issue) { create(:issue, project: project) }
let_it_be(:design_1) { create(:design, :with_file, issue: issue, versions_count: 1) }
let_it_be(:design_2) { create(:design, :with_file, issue: issue, versions_count: 1) }
let(:version_1) { design_1.versions.first }
let(:version_2) { design_2.versions.first }
let(:design_or_collection) { issue.design_collection }
......
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