Commit 5d683e73 authored by Huzaifa Iftikhar's avatar Huzaifa Iftikhar Committed by James Lopez

Fix EmptyLineAfterFinalLetItBe offenses in spec/models/releases

parent fecaaefd
......@@ -717,9 +717,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