diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-05-27 10:33:54 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-05-27 10:34:14 +0300 |
commit | 38637e7d08943c85101e10711f75d850527512b5 (patch) | |
tree | fc5e8dab8cb63295758c174844064ee6f1519f39 /spec/services/merge_requests | |
parent | 1aa3921dd8b0084260fa381ed79580b4b54284b6 (diff) |
Change one-character variable name
[ci skip]
Diffstat (limited to 'spec/services/merge_requests')
-rw-r--r-- | spec/services/merge_requests/update_service_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/merge_requests/update_service_spec.rb b/spec/services/merge_requests/update_service_spec.rb index bf9790c2beb..0a0760056cf 100644 --- a/spec/services/merge_requests/update_service_spec.rb +++ b/spec/services/merge_requests/update_service_spec.rb @@ -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 |