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
520387fa
Commit
520387fa
authored
Jun 09, 2021
by
Jaime Martinez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove empty lines
parent
4adabdc0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
7 deletions
+0
-7
app/presenters/release_presenter.rb
app/presenters/release_presenter.rb
+0
-6
spec/presenters/release_presenter_spec.rb
spec/presenters/release_presenter_spec.rb
+0
-1
No files found.
app/presenters/release_presenter.rb
View file @
520387fa
...
...
@@ -26,28 +26,22 @@ class ReleasePresenter < Gitlab::View::Presenter::Delegated
end
def
opened_merge_requests_url
project_merge_requests_url
(
project
,
params_for_issues_and_mrs
)
end
def
merged_merge_requests_url
project_merge_requests_url
(
project
,
params_for_issues_and_mrs
(
state:
'merged'
))
end
def
closed_merge_requests_url
project_merge_requests_url
(
project
,
params_for_issues_and_mrs
(
state:
'closed'
))
end
def
opened_issues_url
project_issues_url
(
project
,
params_for_issues_and_mrs
)
end
def
closed_issues_url
project_issues_url
(
project
,
params_for_issues_and_mrs
(
state:
'closed'
))
end
...
...
spec/presenters/release_presenter_spec.rb
View file @
520387fa
...
...
@@ -85,7 +85,6 @@ RSpec.describe ReleasePresenter do
it
'returns merge requests url with state=merged'
do
is_expected
.
to
eq
(
project_merge_requests_url
(
project
,
merged_url_params
))
end
end
describe
'#closed_merge_requests_url'
do
...
...
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