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>2017-01-26 11:16:07 +0300
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-01-30 13:01:36 +0300
commitb3de65bcc5627915511182a9ac9857b1fef14853 (patch)
tree537c79d5c1f03b1306556b3abf20a5bb3fe565dc /spec/models/project_services/mattermost_slash_commands_service_spec.rb
parent8bcc911b9bc9fcb2179860c5a98d8a1ad3ec34b0 (diff)
Update #list_teams to propagate errors
Diffstat (limited to 'spec/models/project_services/mattermost_slash_commands_service_spec.rb')
-rw-r--r--spec/models/project_services/mattermost_slash_commands_service_spec.rb2
1 files changed, 1 insertions, 1 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 57ac63932e6..98f3d420c8a 100644
--- a/spec/models/project_services/mattermost_slash_commands_service_spec.rb
+++ b/spec/models/project_services/mattermost_slash_commands_service_spec.rb
@@ -113,7 +113,7 @@ describe MattermostSlashCommandsService, :models do
end
it 'shows error messages' do
- expect(subject).to eq([])
+ expect(subject).to eq([[], "Failed to get team list."])
end
end
end