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
cc6fd37d
Commit
cc6fd37d
authored
May 28, 2021
by
Abdul Wadood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant variable owner from merge_requests_controller_spec.rb
parent
b6384727
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
ee/spec/controllers/projects/merge_requests_controller_spec.rb
...ec/controllers/projects/merge_requests_controller_spec.rb
+0
-7
No files found.
ee/spec/controllers/projects/merge_requests_controller_spec.rb
View file @
cc6fd37d
...
...
@@ -53,7 +53,6 @@ RSpec.describe Projects::MergeRequestsController do
let_it_be_with_refind
(
:project
)
{
create
(
:project
,
:repository
)
}
let_it_be
(
:author
)
{
create
(
:user
)
}
let_it_be
(
:owner
)
{
create
(
:admin
)
}
let
(
:merge_request
)
{
create
(
:merge_request_with_diffs
,
source_project:
project
,
author:
author
)
}
let
(
:user
)
{
project
.
creator
}
...
...
@@ -313,12 +312,6 @@ RSpec.describe Projects::MergeRequestsController do
context
'when the MR target the fork'
do
let
(
:merge_request
)
{
create
(
:merge_request
,
title:
'This is targeting the fork'
,
source_project:
project
,
target_project:
project
)
}
before
do
sign_in
(
owner
)
project
.
add_developer
(
owner
)
project
.
update!
(
approvals_before_merge:
0
)
end
it_behaves_like
'approvals_before_merge param'
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