Commit 13845198 authored by James Lopez's avatar James Lopez

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

Fix EmptyLineAfterFinalLetItBe offenses in spec/models/releases

See merge request gitlab-org/gitlab!58384
parents 585abce1 5d683e73
......@@ -693,9 +693,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- spec/models/plan_limits_spec.rb
- spec/models/prometheus_alert_spec.rb
- spec/models/protected_branch/push_access_level_spec.rb
- spec/models/release_spec.rb
- spec/models/releases/evidence_spec.rb
- spec/models/releases/source_spec.rb
- spec/models/repository_spec.rb
- spec/models/service_spec.rb
- spec/models/snippet_repository_spec.rb
......
---
title: Fix EmptyLineAfterFinalLetItBe offenses in spec/models/releases
merge_request: 58384
author: Huzaifa Iftikhar @huzaifaiftikhar
type: fixed
......@@ -5,6 +5,7 @@ require 'spec_helper'
RSpec.describe Release do
let_it_be(:user) { create(:user) }
let_it_be(:project) { create(:project, :public, :repository) }
let(:release) { create(:release, project: project, author: user) }
it { expect(release).to be_valid }
......
......@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec.describe Releases::Evidence do
let_it_be(:project) { create(:project) }
let(:release) { create(:release, project: project) }
describe 'associations' do
......
......@@ -4,6 +4,7 @@ require 'spec_helper'
RSpec.describe Releases::Source do
let_it_be(:project) { create(:project, :repository, name: 'finance-cal') }
let(:tag_name) { 'v1.0' }
describe '.all' do
......
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