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
1e22d67b
Commit
1e22d67b
authored
Apr 25, 2017
by
Oswaldo Ferreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make rubocop happy
parent
76ccb848
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
4 deletions
+3
-4
app/services/create_related_issue_service.rb
app/services/create_related_issue_service.rb
+1
-1
app/services/related_issues/list_service.rb
app/services/related_issues/list_service.rb
+1
-1
spec/services/related_issues/create_service_spec.rb
spec/services/related_issues/create_service_spec.rb
+1
-1
spec/services/related_issues/list_service_spec.rb
spec/services/related_issues/list_service_spec.rb
+0
-1
No files found.
app/services/create_related_issue_service.rb
View file @
1e22d67b
...
...
@@ -42,4 +42,4 @@ class CreateRelatedIssueService < BaseService
def
issues_sentence
(
issues
)
issues
.
map
{
|
issue
|
issue
.
to_reference
(
@issue
.
project
)
}.
sort
.
to_sentence
end
end
\ No newline at end of file
end
app/services/related_issues/list_service.rb
View file @
1e22d67b
...
...
@@ -33,4 +33,4 @@ module RelatedIssues
.
order
(
:created_at
)
end
end
end
\ No newline at end of file
end
spec/services/related_issues/create_service_spec.rb
View file @
1e22d67b
...
...
@@ -95,4 +95,4 @@ describe RelatedIssues::CreateService, service: true do
end
end
end
end
\ No newline at end of file
end
spec/services/related_issues/list_service_spec.rb
View file @
1e22d67b
...
...
@@ -10,7 +10,6 @@ describe RelatedIssues::ListService, service: true do
let
(
:issue_c
)
{
create
:issue
,
project:
project
}
let
(
:issue_d
)
{
create
:issue
,
project:
project
}
let!
(
:related_issue_c
)
do
create
(
:related_issue
,
issue:
issue_d
,
related_issue:
issue
,
...
...
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