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
29fe7eed
Commit
29fe7eed
authored
Nov 19, 2020
by
Peter Leitzen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cop FactoryBot/InlineAssociation for sent notification
parent
81ffca3a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-1
spec/factories/sent_notifications.rb
spec/factories/sent_notifications.rb
+1
-1
No files found.
.rubocop_manual_todo.yml
View file @
29fe7eed
...
...
@@ -16,7 +16,6 @@ FactoryBot/InlineAssociation:
-
'
spec/factories/import_export_uploads.rb'
-
'
spec/factories/merge_requests.rb'
-
'
spec/factories/notes.rb'
-
'
spec/factories/sent_notifications.rb'
-
'
spec/factories/uploads.rb'
-
'
spec/factories/wiki_pages.rb'
...
...
spec/factories/sent_notifications.rb
View file @
29fe7eed
...
...
@@ -4,7 +4,7 @@ FactoryBot.define do
factory
:sent_notification
do
project
recipient
{
project
.
creator
}
noteable
{
create
(
:issue
,
project:
project
)
}
noteable
{
association
(
:issue
,
project:
project
)
}
reply_key
{
SentNotification
.
reply_key
}
end
end
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