Commit 78b27d62 authored by Kerri Miller's avatar Kerri Miller

Merge branch 'issue#325836-fix-empty-line-after-let-it-be-models-concerns' into 'master'

Fix EmptyLineAfterFinalLetItBe offenses in spec/models/concerns

See merge request gitlab-org/gitlab!58367
parents 7925934f 8212821a
......@@ -1085,8 +1085,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- spec/models/ci/stage_spec.rb
- spec/models/clusters/kubernetes_namespace_spec.rb
- spec/models/commit_spec.rb
- spec/models/concerns/batch_destroy_dependent_associations_spec.rb
- spec/models/concerns/featurable_spec.rb
- spec/models/deploy_token_spec.rb
- spec/models/deployment_spec.rb
- spec/models/diff_viewer/server_side_spec.rb
......
---
title: Fix EmptyLineAfterFinalLetItBe offenses in spec/models/concerns
merge_request: 58367
author: Huzaifa Iftikhar @huzaifaiftikhar
type: fixed
......@@ -26,6 +26,7 @@ RSpec.describe BatchDestroyDependentAssociations do
let_it_be(:project) { create(:project) }
let_it_be(:build) { create(:ci_build, project: project) }
let_it_be(:notification_setting) { create(:notification_setting, project: project) }
let!(:todos) { create(:todo, project: project) }
it 'destroys multiple builds' do
......
......@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec.describe Featurable do
let_it_be(:user) { create(:user) }
let(:project) { create(:project) }
let(:feature_class) { subject.class }
let(:features) { feature_class::FEATURES }
......
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