diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-01-26 11:16:07 +0300 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-01-30 13:01:36 +0300 |
commit | b3de65bcc5627915511182a9ac9857b1fef14853 (patch) | |
tree | 537c79d5c1f03b1306556b3abf20a5bb3fe565dc /spec/models/project_services/mattermost_slash_commands_service_spec.rb | |
parent | 8bcc911b9bc9fcb2179860c5a98d8a1ad3ec34b0 (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.rb | 2 |
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 |