diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2016-12-23 13:13:30 +0300 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-01-24 16:18:30 +0300 |
commit | 85f0229b157a26f4cd954ce5ca20588a9dae29f6 (patch) | |
tree | c015f5bc7a413e3479e94784720d18fc9ea27707 /spec/models | |
parent | b60de9c0fd90c310d2a4146f75b67f9f360cbd6c (diff) |
Fix inconsistent return type
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/project_services/mattermost_slash_commands_service_spec.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/models/project_services/mattermost_slash_commands_service_spec.rb b/spec/models/project_services/mattermost_slash_commands_service_spec.rb index c879edddfdd..57ac63932e6 100644 --- a/spec/models/project_services/mattermost_slash_commands_service_spec.rb +++ b/spec/models/project_services/mattermost_slash_commands_service_spec.rb @@ -113,10 +113,7 @@ describe MattermostSlashCommandsService, :models do end it 'shows error messages' do - teams, message = subject - - expect(teams).to be_empty - expect(message).to eq('Failed to get team list.') + expect(subject).to eq([]) end end end |