Commit ae9f5ad8 authored by Huzaifa Iftikhar's avatar Huzaifa Iftikhar

Fix EmptyLineAfterFinalLetItBe offenses in spec/models/concerns

Contributes to https://gitlab.com/gitlab-org/gitlab/-/issues/325836
parent d86e7c7f
......@@ -1158,8 +1158,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
......
......@@ -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