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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
38637e7d
Commit
38637e7d
authored
May 27, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change one-character variable name
[ci skip]
parent
1aa3921d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
spec/services/issues/update_service_spec.rb
spec/services/issues/update_service_spec.rb
+2
-2
spec/services/merge_requests/update_service_spec.rb
spec/services/merge_requests/update_service_spec.rb
+2
-2
No files found.
spec/services/issues/update_service_spec.rb
View file @
38637e7d
...
@@ -41,8 +41,8 @@ describe Issues::UpdateService do
...
@@ -41,8 +41,8 @@ describe Issues::UpdateService do
end
end
def
find_note
(
starting_with
)
def
find_note
(
starting_with
)
@issue
.
notes
.
find
do
|
n
|
@issue
.
notes
.
find
do
|
n
ote
|
n
&&
n
.
note
.
start_with?
(
starting_with
)
n
ote
&&
note
.
note
.
start_with?
(
starting_with
)
end
end
end
end
...
...
spec/services/merge_requests/update_service_spec.rb
View file @
38637e7d
...
@@ -52,8 +52,8 @@ describe MergeRequests::UpdateService do
...
@@ -52,8 +52,8 @@ describe MergeRequests::UpdateService do
end
end
def
find_note
(
starting_with
)
def
find_note
(
starting_with
)
@merge_request
.
notes
.
find
do
|
n
|
@merge_request
.
notes
.
find
do
|
n
ote
|
n
&&
n
.
note
.
start_with?
(
starting_with
)
n
ote
&&
note
.
note
.
start_with?
(
starting_with
)
end
end
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