Commit 07566d4f authored by Matthias Käppler's avatar Matthias Käppler

Merge branch 'issue#325836-fix-empty-line-after-let-it-be-services-award-emojis' into 'master'

Fix EmptyLineAfterFinalLetItBe offenses in spec/services/award_emojis

See merge request gitlab-org/gitlab!58407
parents 2feffdc1 a8d099c4
...@@ -932,9 +932,6 @@ RSpec/EmptyLineAfterFinalLetItBe: ...@@ -932,9 +932,6 @@ RSpec/EmptyLineAfterFinalLetItBe:
- spec/services/audit_event_service_spec.rb - spec/services/audit_event_service_spec.rb
- spec/services/auth/dependency_proxy_authentication_service_spec.rb - spec/services/auth/dependency_proxy_authentication_service_spec.rb
- spec/services/auto_merge_service_spec.rb - spec/services/auto_merge_service_spec.rb
- spec/services/award_emojis/add_service_spec.rb
- spec/services/award_emojis/destroy_service_spec.rb
- spec/services/award_emojis/toggle_service_spec.rb
- spec/services/boards/destroy_service_spec.rb - spec/services/boards/destroy_service_spec.rb
- spec/services/boards/issues/move_service_spec.rb - spec/services/boards/issues/move_service_spec.rb
- spec/services/bulk_create_integration_service_spec.rb - spec/services/bulk_create_integration_service_spec.rb
......
---
title: Fix EmptyLineAfterFinalLetItBe offenses in spec/services/award_emojis
merge_request: 58407
author: Huzaifa Iftikhar @huzaifaiftikhar
type: fixed
...@@ -6,6 +6,7 @@ RSpec.describe AwardEmojis::AddService do ...@@ -6,6 +6,7 @@ RSpec.describe AwardEmojis::AddService do
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
let_it_be(:project) { create(:project) } let_it_be(:project) { create(:project) }
let_it_be(:awardable) { create(:note, project: project) } let_it_be(:awardable) { create(:note, project: project) }
let(:name) { 'thumbsup' } let(:name) { 'thumbsup' }
subject(:service) { described_class.new(awardable, name, user) } subject(:service) { described_class.new(awardable, name, user) }
......
...@@ -6,6 +6,7 @@ RSpec.describe AwardEmojis::DestroyService do ...@@ -6,6 +6,7 @@ RSpec.describe AwardEmojis::DestroyService do
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
let_it_be(:awardable) { create(:note) } let_it_be(:awardable) { create(:note) }
let_it_be(:project) { awardable.project } let_it_be(:project) { awardable.project }
let(:name) { 'thumbsup' } let(:name) { 'thumbsup' }
let!(:award_from_other_user) do let!(:award_from_other_user) do
create(:award_emoji, name: name, awardable: awardable, user: create(:user)) create(:award_emoji, name: name, awardable: awardable, user: create(:user))
......
...@@ -6,6 +6,7 @@ RSpec.describe AwardEmojis::ToggleService do ...@@ -6,6 +6,7 @@ RSpec.describe AwardEmojis::ToggleService do
let_it_be(:user) { create(:user) } let_it_be(:user) { create(:user) }
let_it_be(:project) { create(:project, :public) } let_it_be(:project) { create(:project, :public) }
let_it_be(:awardable) { create(:note, project: project) } let_it_be(:awardable) { create(:note, project: project) }
let(:name) { 'thumbsup' } let(:name) { 'thumbsup' }
subject(:service) { described_class.new(awardable, name, user) } subject(:service) { described_class.new(awardable, name, user) }
......
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