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
0b217d65
Commit
0b217d65
authored
Nov 19, 2020
by
Peter Leitzen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cop FactoryBot/InlineAssociation for merge requests
parent
87b0c6c9
Changes
2
Hide 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/merge_requests.rb
spec/factories/merge_requests.rb
+1
-1
No files found.
.rubocop_manual_todo.yml
View file @
0b217d65
...
...
@@ -14,7 +14,6 @@ FactoryBot/InlineAssociation:
-
'
spec/factories/go_modules.rb'
-
'
spec/factories/group_group_links.rb'
-
'
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/merge_requests.rb
View file @
0b217d65
...
...
@@ -237,7 +237,7 @@ FactoryBot.define do
target_branch
{
'pages-deploy-target'
}
transient
do
deployment
{
create
(
:deployment
,
:review_app
)
}
deployment
{
association
(
:deployment
,
:review_app
)
}
end
after
(
:build
)
do
|
merge_request
,
evaluator
|
...
...
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