Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a8d099c4
Commit
a8d099c4
authored
Apr 14, 2021
by
Huzaifa Iftikhar
Committed by
Matthias Käppler
Apr 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix EmptyLineAfterFinalLetItBe offenses in spec/services/award_emojis
parent
cedcd442
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
3 deletions
+8
-3
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-3
changelogs/unreleased/issue-325836-fix-empty-line-after-let-it-be-services-award-emojis.yml
...-fix-empty-line-after-let-it-be-services-award-emojis.yml
+5
-0
spec/services/award_emojis/add_service_spec.rb
spec/services/award_emojis/add_service_spec.rb
+1
-0
spec/services/award_emojis/destroy_service_spec.rb
spec/services/award_emojis/destroy_service_spec.rb
+1
-0
spec/services/award_emojis/toggle_service_spec.rb
spec/services/award_emojis/toggle_service_spec.rb
+1
-0
No files found.
.rubocop_manual_todo.yml
View file @
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
...
...
changelogs/unreleased/issue-325836-fix-empty-line-after-let-it-be-services-award-emojis.yml
0 → 100644
View file @
a8d099c4
---
title
:
Fix EmptyLineAfterFinalLetItBe offenses in spec/services/award_emojis
merge_request
:
58407
author
:
Huzaifa Iftikhar @huzaifaiftikhar
type
:
fixed
spec/services/award_emojis/add_service_spec.rb
View file @
a8d099c4
...
@@ -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
)
}
...
...
spec/services/award_emojis/destroy_service_spec.rb
View file @
a8d099c4
...
@@ -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
))
...
...
spec/services/award_emojis/toggle_service_spec.rb
View file @
a8d099c4
...
@@ -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
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment