Commit 38637e7d authored by Robert Speicher's avatar Robert Speicher

Change one-character variable name

[ci skip]
parent 1aa3921d
...@@ -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 |note|
n && n.note.start_with?(starting_with) note && note.note.start_with?(starting_with)
end end
end end
......
...@@ -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 |note|
n && n.note.start_with?(starting_with) note && note.note.start_with?(starting_with)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment