Change one-character variable name

[ci skip]
This commit is contained in:
Robert Speicher 2015-05-27 03:33:54 -04:00
parent 1aa3921dd8
commit 38637e7d08
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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