diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-01-30 13:59:13 +0000 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-01-30 13:59:13 +0000 |
commit | bd5245dba67b4aa4fccce819e4491259d568240b (patch) | |
tree | b6a32afd89b87e4667ac3eb39e6f34adb21582c2 | |
parent | b3de65bcc5627915511182a9ac9857b1fef14853 (diff) | |
download | gitlab-ce-bd5245dba67b4aa4fccce819e4491259d568240b.tar.gz |
Updated test for new error resultzj-display-error-team-fetch
-rw-r--r-- | spec/features/projects/services/mattermost_slash_command_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/services/mattermost_slash_command_spec.rb b/spec/features/projects/services/mattermost_slash_command_spec.rb index 6737b85e0d1..042a1ccab51 100644 --- a/spec/features/projects/services/mattermost_slash_command_spec.rb +++ b/spec/features/projects/services/mattermost_slash_command_spec.rb @@ -100,7 +100,7 @@ feature 'Setup Mattermost slash commands', feature: true do end it 'shows an error alert with the error message if there is an error requesting teams' do - allow_any_instance_of(MattermostSlashCommandsService).to receive(:list_teams) { 'test mattermost error message' } + allow_any_instance_of(MattermostSlashCommandsService).to receive(:list_teams) { [[], 'test mattermost error message'] } click_link 'Add to Mattermost' |