Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2016-12-23 13:13:30 +0300
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-01-24 16:18:30 +0300
commit85f0229b157a26f4cd954ce5ca20588a9dae29f6 (patch)
treec015f5bc7a413e3479e94784720d18fc9ea27707 /spec/models/project_services
parentb60de9c0fd90c310d2a4146f75b67f9f360cbd6c (diff)
Fix inconsistent return type
Diffstat (limited to 'spec/models/project_services')
-rw-r--r--spec/models/project_services/mattermost_slash_commands_service_spec.rb5
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