summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2017-05-05 20:44:19 +0300
committerValery Sizov <valery@gitlab.com>2017-05-05 20:44:19 +0300
commit933447e0da19f9d0be8574185500cabb5d7ab012 (patch)
tree8d34234c7dc5c7ea72aae8b4e5f7e228b6782038
parent8a5eaee6e51fa176f53bb1fdb1ecfe3f92e781ba (diff)
downloadgitlab-ce-933447e0da19f9d0be8574185500cabb5d7ab012.tar.gz
Address static analyzer warningmia_backort
-rw-r--r--spec/services/notes/slash_commands_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/notes/slash_commands_service_spec.rb b/spec/services/notes/slash_commands_service_spec.rb
index b99f01162ee..c9954dc3603 100644
--- a/spec/services/notes/slash_commands_service_spec.rb
+++ b/spec/services/notes/slash_commands_service_spec.rb
@@ -240,7 +240,7 @@ describe Notes::SlashCommandsService, services: true do
end
it 'adds only one assignee from the list' do
- content, command_params = service.extract_commands(note)
+ _, command_params = service.extract_commands(note)
service.execute(command_params, note)
expect(note.noteable.assignees.count).to eq(1)