Change one-character variable name
[ci skip]
This commit is contained in:
parent
1aa3921dd8
commit
38637e7d08
2 changed files with 4 additions and 4 deletions
|
@ -41,8 +41,8 @@ describe Issues::UpdateService do
|
|||
end
|
||||
|
||||
def find_note(starting_with)
|
||||
@issue.notes.find do |n|
|
||||
n && n.note.start_with?(starting_with)
|
||||
@issue.notes.find do |note|
|
||||
note && note.note.start_with?(starting_with)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -52,8 +52,8 @@ describe MergeRequests::UpdateService do
|
|||
end
|
||||
|
||||
def find_note(starting_with)
|
||||
@merge_request.notes.find do |n|
|
||||
n && n.note.start_with?(starting_with)
|
||||
@merge_request.notes.find do |note|
|
||||
note && note.note.start_with?(starting_with)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue