Address static analyzer warning

This commit is contained in:
Valery Sizov 2017-05-05 20:44:19 +03:00
parent 8a5eaee6e5
commit 933447e0da

View file

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