Commit a8d099c4 authored by Huzaifa Iftikhar's avatar Huzaifa Iftikhar Committed by Matthias Käppler

Fix EmptyLineAfterFinalLetItBe offenses in spec/services/award_emojis

parent cedcd442
...@@ -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